class

D4::SumIndex

Inherits Reference < Object

Constants

MAX_CACHED_BYTES = 1048576_i64
UNCACHED_SUM = Int64::MIN

Constructors

new(source : Source, entry : Format::Entry, chromosomes : Array(Chromosome))
Source

Instance methods

full_blocks(chromosome : String, start : Int64, stop : Int64, *, cancelled : Proc(Bool) | Nil = nil) : Int64 | Nil

Returns nil when the precision of every stored block cannot be proved.

cancelled is evaluated between index I/O chunks. It cannot interrupt an in-flight source read, but lets callers abandon a long-running query before the next chunk is processed.

Source
granularity
Source