Expand description
Vortex crate containing core logic for encoding and memory representation of arrays.
At the heart of Vortex are arrays and encodings. Arrays are typed views of memory buffers that hold scalars. These buffers can be held in a number of physical encodings to perform lightweight compression that exploits the particular data distribution of the array’s values.
Every data type recognized by Vortex also has a canonical physical encoding format, which arrays can be canonicalized into for ease of access in compute functions.
Re-exports§
pub use paste;
pub use partial_ord::*;
Modules§
- accessor
- aliases
- array
- All the built-in encoding schemes and arrays.
- arrow
- Utilities to work with
Arrow
data and types. - builders
- compress
- compute
- Compute kernels on top of Vortex Arrays.
- encoding_
ids - Encoding ID constants for all Vortex-provided encodings
- flatbuffers
- Re-exported autogenerated code from the core Vortex flatbuffer definitions.
- iter
- nbytes
- opaque
- partial_
ord - parts
- patches
- stats
- Traits and utilities to compute and access array statistics.
- stream
- tree
- validity
- Array validity and nullability behavior, used by arrays and compute functions.
- variants
- This module defines array traits for each Vortex DType.
- visitor
- vtable
- This module contains the VTable definitions for a Vortex Array.
Macros§
- impl_
encoding - Macro to generate all the necessary code for a new type of array encoding. Including:
Structs§
- Array
- A central type for all Vortex arrays, which are known length sequences of typed and possibly compressed data.
- Array
Children Iterator - A depth-first pre-order iterator over a Array.
- Children
Collector - Context
- A mapping between an encoding’s ID to an
VTableRef
, used to have a shared view of all available encoding schemes. - Empty
Metadata - Encoding
Id - EncodingId is a unique name and numerical code of the array
- Named
Children Collector - Rkyv
Metadata - A utility wrapper for automating the serialization of metadata using rkyv.
- Serde
Metadata
Enums§
- Canonical
- The set of canonical array encodings, also the set of encodings that can be transferred to Arrow with zero-copy.
Traits§
- Array
Metadata - Deserialize
Metadata - Encoding
- Marker trait for array encodings with their associated Array type.
- Into
Array - Consume
self
and turn it into anArray
infallibly. - Into
Array Variant - Trait for types that can be converted from an owned type into an owned array variant.
- Into
Canonical - Canonicalize an
Array
into one of theCanonical
array forms. - Serialize
Metadata
Type Aliases§
- Context
Ref - An atomic shared reference to a
Context
.