Expand description
contains a wide range of compute operations (e.g.
arithmetics
, aggregate
,
filter
, comparison
, and sort
)
This module’s general design is
that each operator has two interfaces, a statically-typed version and a dynamically-typed
version.
The statically-typed version expects concrete arrays (such as PrimitiveArray
);
the dynamically-typed version expects &dyn Array
and errors if the the type is not
supported.
Some dynamically-typed operators have an auxiliary function, can_*
, that returns
true if the operator can be applied to the particular DataType
.
Modules
- aggregate
compute_aggregate
Contains different aggregation functions - arithmetics
compute_arithmetics
Defines basic arithmetic kernels forPrimitiveArray
s. - Defines kernels suitable to perform operations to primitive arrays.
- Defines generics suitable to perform operations to
PrimitiveArray
in-place. - bitwise
compute_bitwise
- boolean
compute_boolean
- boolean_kleene
compute_boolean_kleene
Boolean operators of Kleene logic. - cast
compute_cast
Defines different casting operators such ascast
orprimitive_to_binary
. - comparison
compute_comparison
Contains comparison operators - concatenate
compute_concatenate
Contains the concatenate kernel - contains
compute_contains
Declares thecontains
operator - filter
compute_filter
Contains operators to filter arrays such asfilter
. - hash
compute_hash
Contains thehash
and typed (e.g.hash_primitive
) operators. - if_then_else
compute_if_then_else
Contains the operatorif_then_else
. - length
compute_length
Defines kernel for length of composite arrays - like
compute_like
Contains “like” operators such aslike_utf8
andlike_utf8_scalar
. - limit
compute_limit
Contains the operatorlimit
. - merge_sort
compute_merge_sort
Functions to perform merge-sorts. - nullif
compute_nullif
Contains the operatornullif
. - partition
compute_partition
Defines partition kernel forcrate::array::Array
- regex_match
compute_regex_match
Contains regex matching operatorsregex_match
andregex_match_scalar
. - sort
compute_sort
Contains operators to sort individual and slices ofArray
s. - substring
compute_substring
Defines kernel to extract a substring of a [Large]StringArray - take
compute_take
Defines take kernel forArray
- temporal
compute_temporal
Defines temporal kernels for time and date related functions. - utf8
compute_utf8
Defines common maps to aUtf8Array
- window
compute_window
Defines windowing functions, likeshift
ing