Expand description
Scalar values and types for the Vortex system.
This crate provides scalar types and values that can be used to represent individual data
elements in the Vortex array system. Scalars are composed of a logical data type (DType)
and an optional (encoding nullablity) value (ScalarValue).
Note that the implementations of Scalar are split into several different modules.
Modules§
- arbitrary
- Arbitrary scalar value generation.
Structs§
- Binary
Scalar - A scalar value representing binary data.
- Bool
Scalar - A scalar value representing a boolean.
- Decimal
Scalar - A scalar value representing a decimal number with fixed precision and scale.
- ExtScalar
- A scalar value representing an extension type.
- List
Scalar - A scalar value representing a list or fixed-size list (array) of elements.
- Primitive
Scalar - A scalar value representing a primitive type.
- Scalar
- A typed scalar value.
- Struct
Scalar - A scalar value representing a struct with named fields.
- Utf8
Scalar - A scalar value representing a UTF-8 encoded string.
Enums§
- Decimal
Value - A decimal value that can be stored in various integer widths.
- Numeric
Operator - Binary element-wise operations on two arrays or two scalars.
- PValue
- A primitive value that can represent any primitive type supported by Vortex.
- Scalar
Value - The value stored in a
Scalar.
Traits§
- Scalar
Truncation - A trait for truncating
Scalars to a given length in bytes. - String
Like - Types that can hold a valid UTF-8 string.
Functions§
- lower_
bound - Truncate the value to be less than max_length in bytes and be lexicographically smaller than the value itself
- upper_
bound - Truncate the value to be less than max_length in bytes and be lexicographically greater than the value itself