pub trait EncodingVTable:
'static
+ Sync
+ Send
+ Debug
+ IntoCanonicalVTable
+ MetadataVTable
+ ComputeVTable
+ StatisticsVTable<ArrayData>
+ ValidityVTable<ArrayData>
+ VisitorVTable<ArrayData> {
// Required methods
fn id(&self) -> EncodingId;
fn as_any(&self) -> &dyn Any;
fn with_dyn(
&self,
array: &ArrayData,
f: &mut dyn for<'b> FnMut(&'b (dyn ArrayTrait + 'b)) -> VortexResult<()>,
) -> VortexResult<()>;
}
Expand description
Object-safe encoding trait for an array.
Required Methods§
fn id(&self) -> EncodingId
fn as_any(&self) -> &dyn Any
Sourcefn with_dyn(
&self,
array: &ArrayData,
f: &mut dyn for<'b> FnMut(&'b (dyn ArrayTrait + 'b)) -> VortexResult<()>,
) -> VortexResult<()>
fn with_dyn( &self, array: &ArrayData, f: &mut dyn for<'b> FnMut(&'b (dyn ArrayTrait + 'b)) -> VortexResult<()>, ) -> VortexResult<()>
Unwrap the provided array into an implementation of ArrayTrait