Skip to main content

Crate lance_select

Crate lance_select 

Source
Expand description

Row-selection primitives shared across Lance.

This crate contains:

  • maskRowAddrMask / NullableRowAddrMask and their underlying set types. These describe which rows survive a filter and are produced by scalar-index searches, prefilters, and the read planner.
  • resultIndexExprResult / NullableIndexExprResult: the certainty-tagged wrappers around a RowAddrMask returned by a scalar- index expression evaluation, plus their boolean algebra (Not/BitAnd/BitOr).

These types were extracted from lance-core and lance-index so that consumers (benchmarks, downstream filtering code) can depend on the mask substrate without pulling in either of those larger crates.

Re-exports§

pub use mask::NullableRowAddrMask;
pub use mask::NullableRowAddrSet;
pub use mask::RowAddrMask;
pub use mask::RowAddrSelection;
pub use mask::RowAddrTreeMap;
pub use mask::RowIdMask;
pub use mask::RowIdSet;
pub use mask::RowSetOps;
pub use mask::bitmap_to_ranges;
pub use mask::ranges_to_bitmap;
pub use result::IndexExprResult;
pub use result::NullableIndexExprResult;

Modules§

mask
result
Interval-shaped wrappers around a row-address mask returned by a scalar-index expression evaluation.