pub struct ParquetFileReader {
pub file_metrics: ParquetFileMetrics,
pub inner: ParquetObjectReader,
}Expand description
Implements [AsyncFileReader] for a parquet file in object storage.
This implementation uses the [ParquetObjectReader] to read data from the
object store on demand, as required, tracking the number of bytes read.
This implementation does not coalesce I/O operations or cache bytes. Such
optimizations can be done either at the object store level or by providing a
custom implementation of ParquetFileReaderFactory.
Fields§
§file_metrics: ParquetFileMetrics§inner: ParquetObjectReaderTrait Implementations§
Source§impl AsyncFileReader for ParquetFileReader
impl AsyncFileReader for ParquetFileReader
Source§fn get_bytes(&mut self, range: Range<u64>) -> BoxFuture<'_, Result<Bytes>>
fn get_bytes(&mut self, range: Range<u64>) -> BoxFuture<'_, Result<Bytes>>
Retrieve the bytes in
rangeAuto Trait Implementations§
impl Freeze for ParquetFileReader
impl !RefUnwindSafe for ParquetFileReader
impl Send for ParquetFileReader
impl Sync for ParquetFileReader
impl Unpin for ParquetFileReader
impl !UnwindSafe for ParquetFileReader
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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