Expand description
Defines filter kernels
Structsยง
- Filter
Builder - A builder to construct
FilterPredicate
- Filter
Bytes ๐ FilterBytes
is 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
usize
whose 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
SlicesIterator
to copy ranges of values. Otherwise iterate over individual rows usingIndexIterator
Functionsยง
- build_
filter Deprecated - Returns a prepared function optimized to filter multiple arrays.
- filter
- Returns a filtered
values
[Array] where the corresponding elements ofpredicate
aretrue
. - filter_
array ๐ - filter_
bits ๐ - Filter the packed bitmask
buffer
, withpredicate
starting at bit offsetoffset
- filter_
boolean ๐ filter
implementation for boolean buffers- filter_
byte_ ๐view filter
implementation for byte view arrays.- filter_
bytes ๐ filter
implementation for byte arrays- filter_
count ๐ - Counts the number of set bits in
filter
- filter_
dict ๐ filter
implementation for dictionaries- filter_
fixed_ ๐size_ binary - filter_
native ๐ - filter_
null_ ๐mask - Computes a new null mask for
data
based onpredicate
- filter_
primitive ๐ filter
implementation for primitive arrays- filter_
record_ batch - Returns a filtered [RecordBatch] where the corresponding elements of
predicate
are true. - filter_
run_ ๐end_ array - Filter any supported [
RunArray
] based on aFilterPredicate
- filter_
sparse_ ๐union filter
implementation for sparse unions- filter_
struct ๐ filter
implementation for structs- multiple_
arrays ๐ - prep_
null_ mask_ filter - Remove null values by do a bitmask AND operation with null bits and the boolean bits.
Type Aliasesยง
- Filter
Deprecated - Function that can filter arbitrary arrays