Skip to main content

Module filter

Module filter 

Source

Re-exportsยง

use crate::arrow::ProjectionMask; ๐Ÿ”’
use crate::arrow::arrow_reader::RowSelection; ๐Ÿ”’
use crate::arrow::arrow_reader::RowSelectionPolicy; ๐Ÿ”’
use crate::schema::types::SchemaDescriptor; ๐Ÿ”’
use arrow_array::Array; ๐Ÿ”’
use arrow_array::BooleanArray; ๐Ÿ”’
use arrow_array::RecordBatch; ๐Ÿ”’
use arrow_buffer::BooleanBuffer; ๐Ÿ”’
use arrow_schema::ArrowError; ๐Ÿ”’
use arrow_select::filter::SlicesIterator; ๐Ÿ”’
use arrow_select::filter::filter_record_batch; ๐Ÿ”’
use arrow_select::filter::prep_null_mask_filter; ๐Ÿ”’
use std::fmt::Debug; ๐Ÿ”’
use std::fmt::Debug; ๐Ÿ”’
use std::fmt::Formatter; ๐Ÿ”’

Structsยง

ArrowPredicateFn
An ArrowPredicate created from an FnMut and a ProjectionMask
FusedPredicate ๐Ÿ”’
Evaluate same-projection predicates in order on one decoded batch. Later predicates see only surviving rows, sliced when contiguous or compacted otherwise.
RowFilter
Filter applied during the parquet read process

Traitsยง

ArrowPredicate
A predicate operating on [RecordBatch]

Functionsยง

can_fuse_projection ๐Ÿ”’
Restrict fusion to one top-level, non-repeated leaf to limit compaction costs.
evaluate_predicate ๐Ÿ”’
Validate the predicate result length and treat nulls as false.
narrow_batch ๐Ÿ”’
Restrict batch to the rows filter accepts, slicing zero-copy when they form one contiguous range and compacting otherwise.