pub struct BorrowedColumnVectorBatch<'a>(/* private fields */);Expand description
A column (or set of column) of a stripe, with values of unknown type.
Implementations§
Source§impl<'a> BorrowedColumnVectorBatch<'a>
impl<'a> BorrowedColumnVectorBatch<'a>
pub fn try_into_longs(&self) -> OrcResult<LongVectorBatch<'a>>
pub fn try_into_doubles(&self) -> OrcResult<DoubleVectorBatch<'a>>
pub fn try_into_strings(&self) -> OrcResult<StringVectorBatch<'a>>
pub fn try_into_timestamps(&self) -> OrcResult<TimestampVectorBatch<'a>>
pub fn try_into_decimals64(&self) -> OrcResult<Decimal64VectorBatch<'a>>
pub fn try_into_decimals128(&self) -> OrcResult<Decimal128VectorBatch<'a>>
pub fn try_into_structs(&self) -> OrcResult<StructVectorBatch<'a>>
pub fn try_into_lists(&self) -> OrcResult<ListVectorBatch<'a>>
pub fn try_into_maps(&self) -> OrcResult<MapVectorBatch<'a>>
Trait Implementations§
Source§impl<'a> ColumnVectorBatch<'a> for BorrowedColumnVectorBatch<'a>
impl<'a> ColumnVectorBatch<'a> for BorrowedColumnVectorBatch<'a>
fn inner(&self) -> &'a ColumnVectorBatch
fn num_elements(&self) -> u64
Source§fn not_null(&self) -> Option<&'a [i8]>
fn not_null(&self) -> Option<&'a [i8]>
If the vector contains any null value, then returns an array of booleans
indicating whether each row is null (and should be skipped when reading
it) or not.
Source§fn not_null_ptr(&self) -> Option<NonNull<i8>>
fn not_null_ptr(&self) -> Option<NonNull<i8>>
Same as
BorrowedColumnVectorBatch::not_null but returns a pointerSource§impl<'a> Debug for BorrowedColumnVectorBatch<'a>
impl<'a> Debug for BorrowedColumnVectorBatch<'a>
Source§impl<'a> From<&Decimal128VectorBatch<'a>> for BorrowedColumnVectorBatch<'a>
impl<'a> From<&Decimal128VectorBatch<'a>> for BorrowedColumnVectorBatch<'a>
Source§fn from(vector_batch: &Decimal128VectorBatch<'a>) -> Self
fn from(vector_batch: &Decimal128VectorBatch<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&Decimal64VectorBatch<'a>> for BorrowedColumnVectorBatch<'a>
impl<'a> From<&Decimal64VectorBatch<'a>> for BorrowedColumnVectorBatch<'a>
Source§fn from(vector_batch: &Decimal64VectorBatch<'a>) -> Self
fn from(vector_batch: &Decimal64VectorBatch<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&DoubleVectorBatch<'a>> for BorrowedColumnVectorBatch<'a>
impl<'a> From<&DoubleVectorBatch<'a>> for BorrowedColumnVectorBatch<'a>
Source§fn from(vector_batch: &DoubleVectorBatch<'a>) -> Self
fn from(vector_batch: &DoubleVectorBatch<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&ListVectorBatch<'a>> for BorrowedColumnVectorBatch<'a>
impl<'a> From<&ListVectorBatch<'a>> for BorrowedColumnVectorBatch<'a>
Source§fn from(vector_batch: &ListVectorBatch<'a>) -> Self
fn from(vector_batch: &ListVectorBatch<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&LongVectorBatch<'a>> for BorrowedColumnVectorBatch<'a>
impl<'a> From<&LongVectorBatch<'a>> for BorrowedColumnVectorBatch<'a>
Source§fn from(vector_batch: &LongVectorBatch<'a>) -> Self
fn from(vector_batch: &LongVectorBatch<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&MapVectorBatch<'a>> for BorrowedColumnVectorBatch<'a>
impl<'a> From<&MapVectorBatch<'a>> for BorrowedColumnVectorBatch<'a>
Source§fn from(vector_batch: &MapVectorBatch<'a>) -> Self
fn from(vector_batch: &MapVectorBatch<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&StringVectorBatch<'a>> for BorrowedColumnVectorBatch<'a>
impl<'a> From<&StringVectorBatch<'a>> for BorrowedColumnVectorBatch<'a>
Source§fn from(vector_batch: &StringVectorBatch<'a>) -> Self
fn from(vector_batch: &StringVectorBatch<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&StructVectorBatch<'a>> for BorrowedColumnVectorBatch<'a>
impl<'a> From<&StructVectorBatch<'a>> for BorrowedColumnVectorBatch<'a>
Source§fn from(vector_batch: &StructVectorBatch<'a>) -> Self
fn from(vector_batch: &StructVectorBatch<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&TimestampVectorBatch<'a>> for BorrowedColumnVectorBatch<'a>
impl<'a> From<&TimestampVectorBatch<'a>> for BorrowedColumnVectorBatch<'a>
Source§fn from(vector_batch: &TimestampVectorBatch<'a>) -> Self
fn from(vector_batch: &TimestampVectorBatch<'a>) -> Self
Converts to this type from the input type.
impl<'a> Send for BorrowedColumnVectorBatch<'a>
Auto Trait Implementations§
impl<'a> Freeze for BorrowedColumnVectorBatch<'a>
impl<'a> RefUnwindSafe for BorrowedColumnVectorBatch<'a>
impl<'a> !Sync for BorrowedColumnVectorBatch<'a>
impl<'a> Unpin for BorrowedColumnVectorBatch<'a>
impl<'a> UnwindSafe for BorrowedColumnVectorBatch<'a>
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