#[repr(C, u8)]pub enum FFI_ColumnarValue {
Array(WrappedArray),
Scalar(WrappedArray),
}Expand description
A stable struct for sharing ColumnarValue across FFI boundaries.
Scalar values are passed as an Arrow array of length 1.
Variants§
Array(WrappedArray)
Scalar(WrappedArray)
Trait Implementations§
Source§impl Debug for FFI_ColumnarValue
impl Debug for FFI_ColumnarValue
Source§impl TryFrom<ColumnarValue> for FFI_ColumnarValue
impl TryFrom<ColumnarValue> for FFI_ColumnarValue
Source§type Error = DataFusionError
type Error = DataFusionError
The type returned in the event of a conversion error.
Source§impl TryFrom<FFI_ColumnarValue> for ColumnarValue
impl TryFrom<FFI_ColumnarValue> for ColumnarValue
Source§type Error = DataFusionError
type Error = DataFusionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl !Sync for FFI_ColumnarValue
impl Freeze for FFI_ColumnarValue
impl RefUnwindSafe for FFI_ColumnarValue
impl Send for FFI_ColumnarValue
impl Unpin for FFI_ColumnarValue
impl UnsafeUnpin for FFI_ColumnarValue
impl UnwindSafe for FFI_ColumnarValue
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
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> 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