Module vector

Module vector 

Source

Modules§

binaryview
Definition and implementation of variable-length binary types.
bool
Definition and implementation of BoolVector and BoolVectorMut.
decimal
Definitions and implementations of decimal vector types.
fixed_size_list
Definition and implementation of FixedSizeListVector and FixedSizeListVectorMut.
listview
Definition and implementation of ListViewVector and ListViewVectorMut.
null
Definition and implementation of NullVector and NullVectorMut.
primitive
Definitions and implementations of native primitive vector types.
struct_
Definition and implementation of StructVector and StructVectorMut.

Macros§

match_each_dscalar
Matches on all decimal type variants of DecimalScalar and executes the same code for each variant branch.
match_each_dscalar_pair
Matches on pairs of DecimalScalar with the same type and executes the provided code.
match_each_dvector
Matches on all decimal type variants of DecimalVector and executes the same code for each variant branch.
match_each_dvector_mut
Matches on all decimal type variants of DecimalVectorMut and executes the same code for each variant branch.
match_each_dvector_pair
Matches on pairs of DecimalVector with the same type and executes the provided code.
match_each_float_pscalar_pair
Matches on pairs of float PrimitiveScalar with the same type and executes the provided code.
match_each_float_pvector_pair
Matches on pairs of float PrimitiveVector with the same type and executes the provided code.
match_each_integer_pscalar_pair
Matches on pairs of integer PrimitiveScalar with the same type and executes the provided code.
match_each_integer_pvector
Matches on all integer type variants of PrimitiveVector and executes the same code for each of the integer variant branches.
match_each_integer_pvector_mut
Matches on all integer type variants of PrimitiveVectorMut and executes the same code for each of the integer variant branches.
match_each_integer_pvector_pair
Matches on pairs of integer PrimitiveVector with the same type and executes the provided code.
match_each_pscalar
Matches on all primitive type variants of PrimitiveScalar and executes the same code for each variant branch.
match_each_pscalar_pair
Matches on pairs of crate::primitive::PrimitiveScalar with the same type and executes the provided code.
match_each_pvector
Matches on all primitive type variants of PrimitiveVector and executes the same code for each variant branch.
match_each_pvector_mut
Matches on all primitive type variants of PrimitiveVectorMut and executes the same code for each variant branch.
match_each_pvector_pair
Matches on pairs of crate::primitive::PrimitiveVector with the same type and executes the provided code.
match_each_scalar
Macro to match each variant of a Scalar enum.
match_each_unsigned_pvector
Matches on all unsigned type variants of PrimitiveVector and executes the same code for each of the unsigned variant branches.
match_each_unsigned_pvector_mut
Matches on all unsigned type variants of PrimitiveVectorMut and executes the same code for each of the unsigned variant branches.
match_each_vector
Matches on all variants of Vector and executes the same code for each variant branch.
match_each_vector_mut
Matches on all variants of VectorMut and executes the same code for each variant branch.
match_vector_pair
Matches on pairs of vector variants and executes the same code for matching variant pairs.

Enums§

BinaryViewDatum
Datum enum for BinaryViewDatum < T : BinaryViewType >.
BoolDatum
Datum enum for Bool.
DDatum
Datum enum for DDatum < D : NativeDecimalType >.
Datum
Represents either a scalar or vector value.
DecimalDatum
Datum enum for Decimal.
FixedSizeListDatum
Datum enum for FixedSizeList.
ListViewDatum
Datum enum for ListView.
NullDatum
Datum enum for Null.
PDatum
Datum enum for PDatum < T : NativePType >.
PrimitiveDatum
Datum enum for Primitive.
Scalar
Represents a scalar value of any supported type.
StructDatum
Datum enum for Struct.
TypedDatum
A variant of Datum that is typed.
Vector
An enum over all kinds of immutable vectors, which represent fully decompressed (canonical) array data.
VectorMut
An enum over all kinds of mutable vectors, which represent fully decompressed (canonical) array data.

Traits§

ScalarOps
Trait for scalar operations.
VectorMutOps
Common operations for mutable vectors (all the variants of VectorMut).
VectorOps
Common operations for immutable vectors (all the variants of Vector).

Functions§

datum_matches_dtype
Returns true if the datum is compatible with the provided data type.
scalar_matches_dtype
Returns true if the scalar’s is compatible with the provided data type.
vector_matches_dtype
Returns true if the vector is compatible with the provided data type.