pub struct TimestampValue {
value: i64,
parsed_tz: Option<Tz>,
tz_str: Option<Arc<str>>,
}Fields§
§value: i64§parsed_tz: Option<Tz>§tz_str: Option<Arc<str>>Implementations§
Trait Implementations§
Source§impl Clone for TimestampValue
impl Clone for TimestampValue
Source§fn clone(&self) -> TimestampValue
fn clone(&self) -> TimestampValue
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 Debug for TimestampValue
impl Debug for TimestampValue
Source§impl SeriesValue for TimestampValue
impl SeriesValue for TimestampValue
type StepType = IntervalMonthDayNano
type ValueType = i64
Source§fn should_stop(
&self,
end: TimestampValue,
step: &<TimestampValue as SeriesValue>::StepType,
include_end: bool,
) -> bool
fn should_stop( &self, end: TimestampValue, step: &<TimestampValue as SeriesValue>::StepType, include_end: bool, ) -> bool
Check if we’ve reached the end of the series
Source§fn advance(
&mut self,
step: &<TimestampValue as SeriesValue>::StepType,
) -> Result<(), DataFusionError>
fn advance( &mut self, step: &<TimestampValue as SeriesValue>::StepType, ) -> Result<(), DataFusionError>
Advance to the next value in the series
Source§fn create_array(
&self,
values: Vec<<TimestampValue as SeriesValue>::ValueType>,
) -> Result<Arc<dyn Array>, DataFusionError>
fn create_array( &self, values: Vec<<TimestampValue as SeriesValue>::ValueType>, ) -> Result<Arc<dyn Array>, DataFusionError>
Create an Arrow array from a vector of values
Source§fn to_value_type(&self) -> <TimestampValue as SeriesValue>::ValueType
fn to_value_type(&self) -> <TimestampValue as SeriesValue>::ValueType
Convert self to ValueType for array creation
Source§fn display_value(&self) -> String
fn display_value(&self) -> String
Display the value for debugging
Auto Trait Implementations§
impl Freeze for TimestampValue
impl RefUnwindSafe for TimestampValue
impl Send for TimestampValue
impl Sync for TimestampValue
impl Unpin for TimestampValue
impl UnwindSafe for TimestampValue
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