pub struct StructuralMapDecoder { /* private fields */ }Implementations§
Source§impl StructuralMapDecoder
impl StructuralMapDecoder
pub fn new(child: Box<dyn StructuralFieldDecoder>, data_type: DataType) -> Self
Trait Implementations§
Source§impl Debug for StructuralMapDecoder
impl Debug for StructuralMapDecoder
Source§impl StructuralFieldDecoder for StructuralMapDecoder
impl StructuralFieldDecoder for StructuralMapDecoder
Source§fn accept_page(&mut self, child: LoadedPageShard) -> Result<()>
fn accept_page(&mut self, child: LoadedPageShard) -> Result<()>
Add a newly scheduled child decoder Read more
Source§fn drain(&mut self, num_rows: u64) -> Result<Box<dyn StructuralDecodeArrayTask>>
fn drain(&mut self, num_rows: u64) -> Result<Box<dyn StructuralDecodeArrayTask>>
Creates a task to decode
num_rows of data into an arraySource§fn plan_decoded_bytes(&self, _rows_remaining: u64) -> Result<[u64; 8]>
fn plan_decoded_bytes(&self, _rows_remaining: u64) -> Result<[u64; 8]>
Returns the exact decoded byte count for each of
CANDIDATE_BATCH_SIZES
row counts, clamped to rows_remaining. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for StructuralMapDecoder
impl !Sync for StructuralMapDecoder
impl !UnwindSafe for StructuralMapDecoder
impl Freeze for StructuralMapDecoder
impl Send for StructuralMapDecoder
impl Unpin for StructuralMapDecoder
impl UnsafeUnpin for StructuralMapDecoder
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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