pub struct PlainTermArray { /* private fields */ }Expand description
Represents an Arrow array with a PlainTermEncoding.
Implementations§
Source§impl PlainTermArray
impl PlainTermArray
Sourcepub fn as_parts(&self) -> PlainTermArrayParts<'_>
pub fn as_parts(&self) -> PlainTermArrayParts<'_>
Returns a PlainTermArrayParts that holds references to the inner arrays.
Trait Implementations§
Source§impl Clone for PlainTermArray
impl Clone for PlainTermArray
Source§fn clone(&self) -> PlainTermArray
fn clone(&self) -> PlainTermArray
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 EncodingArray for PlainTermArray
impl EncodingArray for PlainTermArray
Source§type Encoding = PlainTermEncoding
type Encoding = PlainTermEncoding
The encoding used by this array.
Source§fn encoding(&self) -> &<PlainTermArray as EncodingArray>::Encoding
fn encoding(&self) -> &<PlainTermArray as EncodingArray>::Encoding
Obtains the encoding instance for this array.
Source§fn into_array(self) -> Arc<dyn Array>
fn into_array(self) -> Arc<dyn Array>
Consumes
self and returns the inner array.Source§fn try_as_scalar(
&self,
index: usize,
) -> Result<<Self::Encoding as TermEncoding>::Scalar, DataFusionError>
fn try_as_scalar( &self, index: usize, ) -> Result<<Self::Encoding as TermEncoding>::Scalar, DataFusionError>
Extracts a scalar from this array at
index. Read moreAuto Trait Implementations§
impl Freeze for PlainTermArray
impl !RefUnwindSafe for PlainTermArray
impl Send for PlainTermArray
impl Sync for PlainTermArray
impl Unpin for PlainTermArray
impl !UnwindSafe for PlainTermArray
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