pub type BinnedIndex = IndexMap<usize, VirtualPosition>;
Expand description

A binned index.

Aliased Type§

struct BinnedIndex { /* private fields */ }

Trait Implementations§

source§

impl Index for BinnedIndex

source§

fn min_offset( &self, min_shift: u8, depth: u8, start: Position ) -> VirtualPosition

Returns the start virtual position of the first record in the bin that contains the given start position.
source§

fn last_first_start_position(&self) -> Option<VirtualPosition>

Returns the start virtual position of the last first record.
source§

fn update( &mut self, min_shift: u8, depth: u8, start: Position, end: Position, chunk: Chunk )

Adds a record to the index.