pub struct LogDataHandler<'a> { /* private fields */ }
Expand description
Provides semanitc access to the log data.
This is a helper struct that provides access to the log data in a more semantic way to avid the necessiity of knowing the exact layout of the underlying log data.
Trait Implementations§
Source§impl<'a> IntoIterator for LogDataHandler<'a>
impl<'a> IntoIterator for LogDataHandler<'a>
Source§type Item = LogicalFile<'a>
type Item = LogicalFile<'a>
Source§type IntoIter = Box<dyn Iterator<Item = <LogDataHandler<'a> as IntoIterator>::Item> + 'a>
type IntoIter = Box<dyn Iterator<Item = <LogDataHandler<'a> as IntoIterator>::Item> + 'a>
Source§impl<'a> PruningStatistics for LogDataHandler<'a>
impl<'a> PruningStatistics for LogDataHandler<'a>
Source§fn min_values(&self, column: &Column) -> Option<ArrayRef>
fn min_values(&self, column: &Column) -> Option<ArrayRef>
return the minimum values for the named column, if known.
Note: the returned array must contain num_containers()
rows
Source§fn max_values(&self, column: &Column) -> Option<ArrayRef>
fn max_values(&self, column: &Column) -> Option<ArrayRef>
return the maximum values for the named column, if known.
Note: the returned array must contain num_containers()
rows.
Source§fn num_containers(&self) -> usize
fn num_containers(&self) -> usize
return the number of containers (e.g. row groups) being pruned with these statistics
Source§fn null_counts(&self, column: &Column) -> Option<ArrayRef>
fn null_counts(&self, column: &Column) -> Option<ArrayRef>
return the number of null values for the named column as an
Option<UInt64Array>
.
Note: the returned array must contain num_containers()
rows.
Source§fn row_counts(&self, _column: &Column) -> Option<ArrayRef>
fn row_counts(&self, _column: &Column) -> Option<ArrayRef>
return the number of rows for the named column in each container
as an Option<UInt64Array>
.
Note: the returned array must contain num_containers()
rows
Source§fn contained(
&self,
_column: &Column,
_value: &HashSet<ScalarValue>,
) -> Option<BooleanArray>
fn contained( &self, _column: &Column, _value: &HashSet<ScalarValue>, ) -> Option<BooleanArray>
BooleanArray
where each row represents information known
about specific literal values
in a column. Read moreAuto Trait Implementations§
impl<'a> Freeze for LogDataHandler<'a>
impl<'a> !RefUnwindSafe for LogDataHandler<'a>
impl<'a> Send for LogDataHandler<'a>
impl<'a> Sync for LogDataHandler<'a>
impl<'a> Unpin for LogDataHandler<'a>
impl<'a> !UnwindSafe for LogDataHandler<'a>
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
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>
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>
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