pub trait LayoutEncoding:
'static
+ Send
+ Sync
+ Debug
+ Sealed {
// Required methods
fn as_any(&self) -> &dyn Any;
fn id(&self) -> LayoutEncodingId;
fn build(
&self,
dtype: &DType,
row_count: u64,
metadata: &[u8],
segment_ids: Vec<SegmentId>,
children: &dyn LayoutChildren,
) -> VortexResult<LayoutRef>;
}
Required Methods§
fn as_any(&self) -> &dyn Any
fn id(&self) -> LayoutEncodingId
fn build( &self, dtype: &DType, row_count: u64, metadata: &[u8], segment_ids: Vec<SegmentId>, children: &dyn LayoutChildren, ) -> VortexResult<LayoutRef>
Implementations§
Trait Implementations§
Source§impl AsRef<dyn LayoutEncoding> for ChunkedLayoutEncoding
impl AsRef<dyn LayoutEncoding> for ChunkedLayoutEncoding
Source§fn as_ref(&self) -> &dyn LayoutEncoding
fn as_ref(&self) -> &dyn LayoutEncoding
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<dyn LayoutEncoding> for DictLayoutEncoding
impl AsRef<dyn LayoutEncoding> for DictLayoutEncoding
Source§fn as_ref(&self) -> &dyn LayoutEncoding
fn as_ref(&self) -> &dyn LayoutEncoding
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<dyn LayoutEncoding> for FlatLayoutEncoding
impl AsRef<dyn LayoutEncoding> for FlatLayoutEncoding
Source§fn as_ref(&self) -> &dyn LayoutEncoding
fn as_ref(&self) -> &dyn LayoutEncoding
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<dyn LayoutEncoding> for StructLayoutEncoding
impl AsRef<dyn LayoutEncoding> for StructLayoutEncoding
Source§fn as_ref(&self) -> &dyn LayoutEncoding
fn as_ref(&self) -> &dyn LayoutEncoding
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<dyn LayoutEncoding> for ZonedLayoutEncoding
impl AsRef<dyn LayoutEncoding> for ZonedLayoutEncoding
Source§fn as_ref(&self) -> &dyn LayoutEncoding
fn as_ref(&self) -> &dyn LayoutEncoding
Converts this type into a shared reference of the (usually inferred) input type.