pub struct GenericSeriesState<T>where
T: SeriesValue,{
schema: Arc<Schema>,
start: T,
end: T,
step: <T as SeriesValue>::StepType,
batch_size: usize,
current: T,
include_end: bool,
name: &'static str,
}Fields§
§schema: Arc<Schema>§start: T§end: T§step: <T as SeriesValue>::StepType§batch_size: usize§current: T§include_end: bool§name: &'static strImplementations§
Source§impl<T> GenericSeriesState<T>where
T: SeriesValue,
impl<T> GenericSeriesState<T>where
T: SeriesValue,
Trait Implementations§
Source§impl<T> Clone for GenericSeriesState<T>
impl<T> Clone for GenericSeriesState<T>
Source§fn clone(&self) -> GenericSeriesState<T>
fn clone(&self) -> GenericSeriesState<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T> Debug for GenericSeriesState<T>
impl<T> Debug for GenericSeriesState<T>
Source§impl<T> Display for GenericSeriesState<T>where
T: SeriesValue,
impl<T> Display for GenericSeriesState<T>where
T: SeriesValue,
Source§impl<T> LazyBatchGenerator for GenericSeriesState<T>where
T: SeriesValue,
impl<T> LazyBatchGenerator for GenericSeriesState<T>where
T: SeriesValue,
Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
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>, DataFusionError>
fn generate_next_batch( &mut self, ) -> Result<Option<RecordBatch>, DataFusionError>
Generate the next batch, return
None when no more batches are availablefn boundedness(&self) -> Boundedness
Auto Trait Implementations§
impl<T> Freeze for GenericSeriesState<T>
impl<T> RefUnwindSafe for GenericSeriesState<T>
impl<T> Send for GenericSeriesState<T>
impl<T> Sync for GenericSeriesState<T>
impl<T> Unpin for GenericSeriesState<T>
impl<T> UnwindSafe for GenericSeriesState<T>
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,
§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§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.