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. Scalar
s are composed of a logical data type
(DType
) and a value (ScalarValue
).
Macros§
- match_
each_ decimal_ value - Matches over each decimal value variant, binding the inner value to a variable.
- match_
each_ decimal_ value_ type - Macro to match over each decimal value type, binding the corresponding native type (from
DecimalValueType
)
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 single logical item, composed of both a
ScalarValue
and a logicalDType
. - Scalar
Value - Represents the internal data of a scalar value. Must be interpreted by wrapping up with a
vortex_dtype::DType
to make asuper::Scalar
. - Struct
Scalar - A scalar value representing a struct with named fields.
- Utf8
Scalar - A scalar value representing a UTF-8 encoded string.
- i256
- Signed 256-bit integer type.
Enums§
- Decimal
Value - A decimal value that can be stored in various integer widths.
- Decimal
Value Type - Type of the decimal values.
- 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.
Traits§
- BigCast
- Checked numeric casts up to and including i256 support.
- From
Primitive OrF16 - A trait for types that can be created from primitive values, including f16.
- Native
Decimal Type - Type of decimal scalar values.
- Scalar
Type - A trait for types that can be used as scalar values.
- ToPrimitive
- Checked conversion from one primitive type to another.