pub struct Empty { /* private fields */ }
Expand description
Empty generator that produces no rows - used when series arguments contain null values
Implementations§
Trait Implementations§
Source§impl LazyBatchGenerator for Empty
impl LazyBatchGenerator for Empty
Source§fn as_any(&self) -> &dyn Any
fn as_any(&self) -> &dyn Any
Returns the generator as
Any
so that it can be
downcast to a specific implementation.Source§fn generate_next_batch(&mut self) -> Result<Option<RecordBatch>>
fn generate_next_batch(&mut self) -> Result<Option<RecordBatch>>
Generate the next batch, return
None
when no more batches are availablefn boundedness(&self) -> Boundedness
Auto Trait Implementations§
impl Freeze for Empty
impl RefUnwindSafe for Empty
impl Send for Empty
impl Sync for Empty
impl Unpin for Empty
impl UnwindSafe for Empty
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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