pub struct ArrowVector {
pub array: ArrayRef,
pub physical_type: PhysicalTypeID,
}Fields§
§array: ArrayRef§physical_type: PhysicalTypeIDImplementations§
Source§impl ArrowVector
impl ArrowVector
pub fn new(array: ArrayRef, physical_type: PhysicalTypeID) -> Self
pub fn from_legacy(vec: &ValueVector) -> Self
pub fn data_type(&self) -> DataType
Trait Implementations§
Source§impl Clone for ArrowVector
impl Clone for ArrowVector
Source§fn clone(&self) -> ArrowVector
fn clone(&self) -> ArrowVector
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ArrowVector
impl Debug for ArrowVector
Source§impl From<ArrowVector> for Vector
impl From<ArrowVector> for Vector
Source§fn from(a: ArrowVector) -> Self
fn from(a: ArrowVector) -> Self
Converts to this type from the input type.
Source§impl VectorAccess for ArrowVector
impl VectorAccess for ArrowVector
fn size(&self) -> usize
fn physical_type(&self) -> PhysicalTypeID
fn is_null(&self, row: usize) -> bool
fn get_i64(&self, row: usize) -> Option<i64>
fn get_i32(&self, row: usize) -> Option<i32>
fn get_f64(&self, row: usize) -> Option<f64>
fn get_f32(&self, row: usize) -> Option<f32>
fn get_bool(&self, row: usize) -> Option<bool>
fn get_value(&self, row: usize) -> Option<Value>
fn get_i64_sel(&self, pos: usize, sel: &SelectionVector) -> Option<i64>
fn get_i32_sel(&self, pos: usize, sel: &SelectionVector) -> Option<i32>
fn get_f64_sel(&self, pos: usize, sel: &SelectionVector) -> Option<f64>
fn get_f32_sel(&self, pos: usize, sel: &SelectionVector) -> Option<f32>
fn get_bool_sel(&self, pos: usize, sel: &SelectionVector) -> Option<bool>
Auto Trait Implementations§
impl !RefUnwindSafe for ArrowVector
impl !UnwindSafe for ArrowVector
impl Freeze for ArrowVector
impl Send for ArrowVector
impl Sync for ArrowVector
impl Unpin for ArrowVector
impl UnsafeUnpin for ArrowVector
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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