pub struct DictVTable;Trait Implementations§
Source§impl Debug for DictVTable
impl Debug for DictVTable
Source§impl VTable for DictVTable
impl VTable for DictVTable
type Layout = DictLayout
type Encoding = DictLayoutEncoding
type Metadata = ProstMetadata<DictLayoutMetadata>
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 DictVTable
impl RefUnwindSafe for DictVTable
impl Send for DictVTable
impl Sync for DictVTable
impl Unpin for DictVTable
impl UnwindSafe for DictVTable
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