pub struct ArrowPreprocessResult {
pub values: Float64Array,
pub timestamps: Int64Array,
pub gaps_filled: usize,
}Expand description
Result of an Arrow-native preprocessing operation.
Fields§
§values: Float64ArrayProcessed values as Arrow Float64Array.
timestamps: Int64ArrayAligned timestamps as Arrow Int64Array.
gaps_filled: usizeNumber of gaps filled during interpolation.
Implementations§
Source§impl ArrowPreprocessResult
impl ArrowPreprocessResult
Sourcepub fn values_array_ref(&self) -> ArrayRef
pub fn values_array_ref(&self) -> ArrayRef
Returns the values column as an ArrayRef (for DataFusion interop).
Sourcepub fn timestamps_array_ref(&self) -> ArrayRef
pub fn timestamps_array_ref(&self) -> ArrayRef
Returns the timestamps column as an ArrayRef.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArrowPreprocessResult
impl RefUnwindSafe for ArrowPreprocessResult
impl Send for ArrowPreprocessResult
impl Sync for ArrowPreprocessResult
impl Unpin for ArrowPreprocessResult
impl UnsafeUnpin for ArrowPreprocessResult
impl UnwindSafe for ArrowPreprocessResult
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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