enum RowGroupDecoderState {
Start {
row_group_info: RowGroupInfo,
},
Filters {
row_group_info: RowGroupInfo,
column_chunks: Option<Vec<Option<Arc<ColumnChunkData>>>>,
filter_info: FilterInfo,
},
WaitingOnFilterData {
row_group_info: RowGroupInfo,
filter_info: FilterInfo,
data_request: DataRequest,
},
StartData {
row_group_info: RowGroupInfo,
column_chunks: Option<Vec<Option<Arc<ColumnChunkData>>>>,
cache_info: Option<CacheInfo>,
},
WaitingOnData {
row_group_info: RowGroupInfo,
data_request: DataRequest,
cache_info: Option<CacheInfo>,
},
Finished,
}Expand description
This is the inner state machine for reading a single row group.
Variants§
Start
Fields
§
row_group_info: RowGroupInfoFilters
Planning filters, but haven’t yet requested data to evaluate them
Fields
§
row_group_info: RowGroupInfo§
column_chunks: Option<Vec<Option<Arc<ColumnChunkData>>>>Any previously read column chunk data from prior filters
§
filter_info: FilterInfoWaitingOnFilterData
Needs data to evaluate current filter
StartData
Know what data to actually read, after all predicates
Fields
§
row_group_info: RowGroupInfoWaitingOnData
Needs data to proceed with reading the output
Finished
Finished (or not yet started) reading this group
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RowGroupDecoderState
impl !RefUnwindSafe for RowGroupDecoderState
impl Send for RowGroupDecoderState
impl !Sync for RowGroupDecoderState
impl Unpin for RowGroupDecoderState
impl !UnwindSafe for RowGroupDecoderState
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