pub struct FlatVTable;Trait Implementations§
Source§impl Debug for FlatVTable
impl Debug for FlatVTable
Source§impl VTable for FlatVTable
impl VTable for FlatVTable
type Layout = FlatLayout
type Encoding = FlatLayoutEncoding
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 FlatVTable
impl RefUnwindSafe for FlatVTable
impl Send for FlatVTable
impl Sync for FlatVTable
impl Unpin for FlatVTable
impl UnwindSafe for FlatVTable
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