Expand description
Comparison kernels for Arrays.
These kernels can leverage SIMD if available on your system. Currently no runtime
detection is provided, you should enable the specific SIMD intrinsics using
RUSTFLAGS="-C target-feature=+avx2" for example. See the documentation
here for more information.
StructsΒ§
- ReeInfo π
- Run-end encoding metadata for one side of a comparison. Holds a reference to the original REE array for deferred typed access to run_ends.
- Side
Info π - Per-side metadata for a comparison operand.
EnumsΒ§
- Op π
TraitsΒ§
- Array
Ord π
FunctionsΒ§
- apply π
- Perform a potentially vectored
opon the providedArrayOrd - apply_
op π - Applies
opto possibly scalarArrayOrd - apply_
op_ πree_ segments - Compare two REE arrays by walking both run_ends simultaneously, comparing once per aligned segment and bulk-filling the result.
- apply_
op_ πvectored - Applies
opto possibly scalarArrayOrdwith the given indices - apply_
ree π - Dispatch
opfor a REE-vs-REE comparison (no dictionary on either side) using segment-based bulk comparison. - collect_
bool π - Invokes
fwith values0..lencollecting the boolean results into a newBooleanBuffer - compare_
byte_ view - Compares two [
GenericByteViewArray] at indexleft_idxandright_idx - compare_
op π - Perform
opon the providedDatum - distinct
- Perform
left IS DISTINCT FROM rightoperation on two [Datum] - eq
- Perform
left == rightoperation on two [Datum]. - expand_
from_ πruns - Expand a physical-length BooleanBuffer to logical length by bulk-appending each runβs result. Zero allocation β downcasts internally to access typed run_ends directly.
- gt
- Perform
left > rightoperation on two [Datum]. - gt_eq
- Perform
left >= rightoperation on two [Datum]. - logical_
indices π - Build a logicalβphysical index vector for one side of a non-scalar comparison.
- lt
- Perform
left < rightoperation on two [Datum]. - lt_eq
- Perform
left <= rightoperation on two [Datum]. - neq
- Perform
left != rightoperation on two [Datum]. - not_
distinct - Perform
left IS NOT DISTINCT FROM rightoperation on two [Datum] - ree_
info_ πopt - If
arrayis RunEndEncoded, return its physical values array and run metadata. - ree_
physical_ πindices - scalar_
index π - supports_
distinct π - Returns true if
distinct(viacompare_op) can handle this data type. - take_
bits π