Skip to main content

Module vtable

Module vtable 

Source
Expand description

This module contains the VTable definitions for a Vortex encoding.

Structs§

EmptyArrayData
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.
ValidityVTableFromChild
An implementation of the ValidityVTable for arrays that delegate validity entirely to a child array.
ValidityVTableFromChildSliceHelper
An implementation of the ValidityVTable for arrays that hold an unsliced validity and a slice into it.

Traits§

ArrayPlugin
Registry trait for ID-based deserialization of arrays.
ArrayVTable
Alias for migration — downstream code can start using ArrayVTable. The array VTable encapsulates logic for an Array type within Vortex.
OperationsVTable
VTable
The array VTable encapsulates logic for an Array type within Vortex.
ValidityChild
ValidityChildSliceHelper
ValidityVTable

Functions§

child_to_validity
Reconstruct a Validity from 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.
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.

Type Aliases§

ArrayPluginRef
Reference-counted array plugin.