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

aggregatecompute_aggregate

Contains different aggregation functions

arithmeticscompute_arithmetics

Defines basic arithmetic kernels for PrimitiveArrays.

Defines kernels suitable to perform operations to primitive arrays.

booleancompute_boolean

null-preserving operators such as and, or and not.

boolean_kleenecompute_boolean_kleene

Boolean operators of Kleene logic.

castcompute_cast

Defines different casting operators such as cast or primitive_to_binary.

comparisoncompute_comparison

Contains comparison operators

concatenatecompute_concatenate

Contains the concatenate kernel

filtercompute_filter

Contains operators to filter arrays such as filter.

if_then_elsecompute_if_then_else

Contains the operator if_then_else.

substringcompute_substring

Defines kernel to extract a substring of a [Large]StringArray

takecompute_take

Defines take kernel for Array