[][src]Module arrow::compute::kernels::filter

Defines miscellaneous array kernels.

Structs

FilterContext

FilterContext can be used to improve performance when filtering multiple data arrays with the same filter array.

Functions

filter

Returns a new array, containing only the elements matching the filter.

filter_dictionary_array

Returns a new DictionaryArray containing only those keys from the array passed as the data_array parameter, selected by the BooleanArray passed as the filter_array parameter. The values are cloned from the data_array.

filter_primitive_array

Returns a new PrimitiveArray containing only those values from the array passed as the data_array parameter, selected by the BooleanArray passed as the filter_array parameter

filter_record_batch

Returns a new RecordBatch with arrays containing only values matching the filter. The same FilterContext is re-used when filtering arrays in the RecordBatch for better performance.