pub struct PrimitiveFieldScheduler { /* private fields */ }
Expand description
A field scheduler for primitive fields
This maps to exactly one column and it assumes that the top-level encoding of each page is “basic”. The basic encoding decodes into an optional buffer of validity and a fixed-width buffer of values which is exactly what we need to create a primitive array.
Note: we consider booleans and fixed-size-lists of primitive types to be primitive types. This is slightly different than arrow-rs’s definition
Implementations§
Trait Implementations§
Source§impl Debug for PrimitiveFieldScheduler
impl Debug for PrimitiveFieldScheduler
Source§impl FieldScheduler for PrimitiveFieldScheduler
impl FieldScheduler for PrimitiveFieldScheduler
Source§fn schedule_ranges<'a>(
&'a self,
ranges: &[Range<u64>],
_filter: &FilterExpression,
) -> Result<Box<dyn SchedulingJob + 'a>>
fn schedule_ranges<'a>( &'a self, ranges: &[Range<u64>], _filter: &FilterExpression, ) -> Result<Box<dyn SchedulingJob + 'a>>
Schedules I/O for the requested portions of the field. Read more
Source§fn initialize<'a>(
&'a self,
_filter: &'a FilterExpression,
_context: &'a SchedulerContext,
) -> BoxFuture<'a, Result<()>>
fn initialize<'a>( &'a self, _filter: &'a FilterExpression, _context: &'a SchedulerContext, ) -> BoxFuture<'a, Result<()>>
Called at the beginning of scheduling to initialize the scheduler
Auto Trait Implementations§
impl Freeze for PrimitiveFieldScheduler
impl !RefUnwindSafe for PrimitiveFieldScheduler
impl Send for PrimitiveFieldScheduler
impl Sync for PrimitiveFieldScheduler
impl Unpin for PrimitiveFieldScheduler
impl !UnwindSafe for PrimitiveFieldScheduler
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> 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