pub struct StructVTable;Trait Implementations§
Source§impl Debug for StructVTable
impl Debug for StructVTable
Source§impl VTable for StructVTable
impl VTable for StructVTable
type Layout = StructLayout
type Encoding = StructLayoutEncoding
type Metadata = EmptyMetadata
Source§fn encoding(_layout: &Self::Layout) -> LayoutEncodingRef
fn encoding(_layout: &Self::Layout) -> LayoutEncodingRef
Returns the encoding for the layout.
Source§fn segment_ids(_layout: &Self::Layout) -> Vec<SegmentId>
fn segment_ids(_layout: &Self::Layout) -> Vec<SegmentId>
Returns the segment IDs for the layout.
Source§fn child(layout: &Self::Layout, idx: usize) -> VortexResult<LayoutRef>
fn child(layout: &Self::Layout, idx: usize) -> VortexResult<LayoutRef>
Return the child at the given index.
Source§fn child_type(layout: &Self::Layout, idx: usize) -> LayoutChildType
fn child_type(layout: &Self::Layout, idx: usize) -> LayoutChildType
Return the type of the child at the given index.
Source§fn new_reader(
layout: &Self::Layout,
name: Arc<str>,
segment_source: Arc<dyn SegmentSource>,
) -> VortexResult<LayoutReaderRef>
fn new_reader( layout: &Self::Layout, name: Arc<str>, segment_source: Arc<dyn SegmentSource>, ) -> VortexResult<LayoutReaderRef>
Create a new reader for the layout.
Source§fn build(
_encoding: &Self::Encoding,
dtype: &DType,
row_count: u64,
_metadata: &<Self::Metadata as DeserializeMetadata>::Output,
_segment_ids: Vec<SegmentId>,
children: &dyn LayoutChildren,
_ctx: ArrayContext,
) -> VortexResult<Self::Layout>
fn build( _encoding: &Self::Encoding, dtype: &DType, row_count: u64, _metadata: &<Self::Metadata as DeserializeMetadata>::Output, _segment_ids: Vec<SegmentId>, children: &dyn LayoutChildren, _ctx: ArrayContext, ) -> VortexResult<Self::Layout>
Construct a new
Layout from the provided parts.Auto Trait Implementations§
impl Freeze for StructVTable
impl RefUnwindSafe for StructVTable
impl Send for StructVTable
impl Sync for StructVTable
impl Unpin for StructVTable
impl UnwindSafe for StructVTable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more