Expand description
Defines filter kernels
Structsยง
- Filter
Builder - A builder to construct
FilterPredicate - Filter
Bytes ๐ FilterBytesis created from a source [GenericByteArray] and can be used to build a new [GenericByteArray] by copying values from the source- Filter
Predicate - A filtering predicate that can be applied to an [
Array] - Index
Iterator ๐ - An iterator of
usizewhose index in [BooleanArray] is true - Slices
Iterator - An iterator of
(usize, usize)each representing an interval[start, end)whose slots of a bitmap [Buffer] are true.
Enumsยง
- Iteration
Strategy ๐ - The iteration strategy used to evaluate
FilterPredicate
Constantsยง
- FILTER_
SLICES_ ๐SELECTIVITY_ THRESHOLD - If the filter selects more than this fraction of rows, use
SlicesIteratorto copy ranges of values. Otherwise iterate over individual rows usingIndexIterator
Functionsยง
- filter
- Returns a filtered
values[Array] where the corresponding elements ofpredicatearetrue. - filter_
array ๐ - filter_
bits ๐ - Filter the packed bitmask
buffer, withpredicatestarting at bit offsetoffset - filter_
boolean ๐ filterimplementation for boolean buffers- filter_
byte_ ๐view filterimplementation for byte view arrays.- filter_
bytes ๐ filterimplementation for byte arrays- filter_
count ๐ - Counts the number of set bits in
filter - filter_
dict ๐ filterimplementation for dictionaries- filter_
fixed_ ๐size_ binary - filter_
list_ ๐view filterimplementation for list views- filter_
native ๐ - filter_
null_ ๐mask - Computes a new null mask for
databased onpredicate - filter_
primitive ๐ filterimplementation for primitive arrays- filter_
record_ batch - Returns a filtered [RecordBatch] where the corresponding elements of
predicateare true. - filter_
run_ ๐end_ array - Filter any supported [
RunArray] based on aFilterPredicate - filter_
sparse_ ๐union filterimplementation for sparse unions- filter_
struct ๐ filterimplementation for structs- prep_
null_ mask_ filter - Remove null values by do a bitmask AND operation with null bits and the boolean bits.