Skip to main content

index

Function index 

Source
pub fn index(tables: &[(&'static str, RecordBatch)]) -> Option<Vec<u8>>
Expand description

Build a block’s crate::bloom::ATTR_IDX over every attribute table in it.

Driven off the schema rather than off a list of table names, so a signal that grows a fourth attribute level gets covered without anyone remembering to add it here — and forgetting would not be a slow query, it would be a block wrongly skipped.

None when the block has no attributes at all or too many distinct ones; the reader treats a missing file as “scan me”, so both are safe.