pub trait EncodingVTable:
'static
+ Sync
+ Send
+ Debug
+ CanonicalVTable<Array>
+ ComputeVTable
+ MetadataVTable<Array>
+ StatisticsVTable<Array>
+ ValidateVTable<Array>
+ ValidityVTable<Array>
+ VariantsVTable<Array>
+ VisitorVTable<Array> {
// Required methods
fn id(&self) -> EncodingId;
fn as_any(&self) -> &dyn Any;
}
Expand description
Dyn-compatible VTable trait for a Vortex array encoding.
This trait provides extension points for arrays to implement various features of Vortex. It is split into multiple sub-traits to make it easier for consumers to break up the implementation, as well as to allow for optional implementation of certain features, for example compute functions.
It is recommended that you use crate::impl_encoding
to assist in writing a new
array encoding.
Required Methods§
Sourcefn id(&self) -> EncodingId
fn id(&self) -> EncodingId
Return the ID for this encoding implementation.