pub struct BatchReader { /* private fields */ }Expand description
A reader that hands out batches of rows.
Implementations§
Source§impl BatchReader
impl BatchReader
Sourcepub fn next_batch(&mut self) -> Option<RecordBatch>
pub fn next_batch(&mut self) -> Option<RecordBatch>
The next batch of rows, or none when the file ends.
Auto Trait Implementations§
impl !RefUnwindSafe for BatchReader
impl !Sync for BatchReader
impl !UnwindSafe for BatchReader
impl Forget for BatchReader
impl Freeze for BatchReaderwhere
*const dyn ArrayReader is !null: Freeze,
PhantomData<dyn ArrayReader>: Freeze,
*const ArcInner<Schema> is !null: Freeze,
PhantomData<ArcInner<Schema>>: Freeze,
*const ArcInner<Bytes> is !null: Freeze,
PhantomData<ArcInner<Bytes>>: Freeze,
*const u8: Freeze,
*const ArcInner<LoadedRowRanges> is !null: Freeze,
PhantomData<ArcInner<LoadedRowRanges>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<RowSelector>: Freeze,
impl Move for BatchReader
impl Send for BatchReader
impl Unpin for BatchReader
impl UnsafeUnpin for BatchReaderwhere
*const dyn ArrayReader is !null: UnsafeUnpin,
PhantomData<dyn ArrayReader>: UnsafeUnpin,
*const ArcInner<Schema> is !null: UnsafeUnpin,
PhantomData<ArcInner<Schema>>: UnsafeUnpin,
*const ArcInner<Bytes> is !null: UnsafeUnpin,
PhantomData<ArcInner<Bytes>>: UnsafeUnpin,
*const u8: UnsafeUnpin,
*const ArcInner<LoadedRowRanges> is !null: UnsafeUnpin,
PhantomData<ArcInner<LoadedRowRanges>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<RowSelector>: UnsafeUnpin,
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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