pub struct ParquetBatchSourceFactory { /* private fields */ }Expand description
Bounded Parquet streaming source factory. Re-consumable bounded Parquet source factory.
Implementations§
Source§impl ParquetBatchSourceFactory
impl ParquetBatchSourceFactory
Sourcepub fn new(path: impl AsRef<Path>, options: ParquetReadOptions) -> Self
pub fn new(path: impl AsRef<Path>, options: ParquetReadOptions) -> Self
Construct a factory for a Parquet path and read options.
Trait Implementations§
Source§impl BatchSourceFactory for ParquetBatchSourceFactory
impl BatchSourceFactory for ParquetBatchSourceFactory
Source§fn source_name(&self) -> &'static str
fn source_name(&self) -> &'static str
Stable source identifier for diagnostics.
Source§fn schema(&self) -> Result<SchemaRef>
fn schema(&self) -> Result<SchemaRef>
Return the source schema known before the source produces batches.
Source§fn source_limits(&self) -> Vec<SourceLimit>
fn source_limits(&self) -> Vec<SourceLimit>
Return static capability limitations visible before opening the source.
Source§fn open(&self, context: BatchOpenContext) -> Result<Box<dyn BatchSource>>
fn open(&self, context: BatchOpenContext) -> Result<Box<dyn BatchSource>>
Open an independently owned source cursor.
Source§impl Clone for ParquetBatchSourceFactory
impl Clone for ParquetBatchSourceFactory
Source§fn clone(&self) -> ParquetBatchSourceFactory
fn clone(&self) -> ParquetBatchSourceFactory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ParquetBatchSourceFactory
impl RefUnwindSafe for ParquetBatchSourceFactory
impl Send for ParquetBatchSourceFactory
impl Sync for ParquetBatchSourceFactory
impl Unpin for ParquetBatchSourceFactory
impl UnsafeUnpin for ParquetBatchSourceFactory
impl UnwindSafe for ParquetBatchSourceFactory
Blanket Implementations§
impl<T> Allocation for T
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