Expand description
This module contains the VTable definitions for a Vortex encoding.
A Vortex array encoding is implemented by a small static vtable type plus an associated
TypedArrayData value stored in each array instance. The vtable owns behavior such as
validation, serialization, execution, child traversal, scalar access, and validity access.
The public ArrayRef API performs common precondition checks before calling
into these traits. Implementations should focus on encoding-specific work and uphold the
documented postconditions.
Structs§
- Empty
Array Data - Empty array metadata struct for encodings with no per-array metadata.
- NotSupported
- Placeholder type used to indicate when a particular vtable is not supported by the encoding.
- ValidityV
Table From Child - An implementation of the
ValidityVTablefor arrays that delegate validity entirely to a child array. - ValidityV
Table From Child Slice Helper - An implementation of the
ValidityVTablefor arrays that hold an unsliced validity and a slice into it.
Traits§
- Array
Plugin - Registry trait for ID-based deserialization of arrays.
- ArrayV
Table - Alias for migration — downstream code can start using
ArrayVTable. The arrayVTableencapsulates logic for an Array type within Vortex. - OperationsV
Table - Element-level operations for an array encoding.
- VTable
- The array
VTableencapsulates logic for an Array type within Vortex. - Validity
Child - Helper trait for encodings whose validity is exactly one child slot.
- Validity
Child Slice Helper - Helper for encodings that keep an unsliced validity child plus a local slice range.
- ValidityV
Table - Validity access for nullable instances of an encoding.
Functions§
- child_
to_ validity - Reconstruct a
Validityfrom an optional child array and nullability. - patches_
child - Returns the child at the given index within a patches component.
- patches_
child_ name - Returns the name of the child at the given index within a patches component.
- patches_
nchildren - Returns the number of children produced by patches.
- unsupported_
buffer_ replacement - Reject buffer replacement for encodings whose exposed buffers are not runtime backing buffers.
- validity_
nchildren - Returns 1 if validity produces a child, 0 otherwise.
- validity_
to_ child - Returns the validity as a child array if it produces one.
- with_
empty_ buffers - Rebuild an array that has no top-level buffers.
Type Aliases§
- Array
Plugin Ref - Reference-counted array plugin.