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 for
PrimitiveArray
s.Defines kernels suitable to perform operations to primitive arrays.
Defines generics suitable to perform operations to
PrimitiveArray
in-place.boolean_kleene
compute_boolean_kleene
Boolean operators of Kleene logic.
cast
compute_cast
Defines different casting operators such as
cast
or primitive_to_binary
.comparison
compute_comparison
Contains comparison operators
concatenate
compute_concatenate
Contains the concatenate kernel
if_then_else
compute_if_then_else
Contains the operator
if_then_else
.substring
compute_substring
Defines kernel to extract a substring of a [Large]StringArray
temporal
compute_temporal
Defines temporal kernels for time and date related functions.