Expand description
Scan predicates for block-level predicate pushdown.
A ScanPredicate describes a filter on a single column that can be
evaluated against BlockStats to skip entire blocks without decompressing.
Predicates work for both numeric columns (comparing against BlockStats.min
/ BlockStats.max) and string columns (comparing against
BlockStats.str_min / BlockStats.str_max). For string Eq predicates the
optional bloom filter provides an additional fast-reject path.
Structs§
- Scan
Predicate - A predicate on a single column for block-level pushdown.
Enums§
- Predicate
Op - Comparison operator for scan predicates.
- Predicate
Value - The value side of a scan predicate.
Constants§
- BLOOM_
BYTES - Bloom filter size in bytes (2048 bits).
Functions§
- bloom_
insert - Insert a string value into a bloom filter buffer.
- bloom_
may_ contain - Test whether a string value may be present in a bloom filter.
- build_
bloom - Build a new bloom filter buffer and insert all provided string values.