Type Alias TimeMillisecondVectorBuilder

Source
pub type TimeMillisecondVectorBuilder = PrimitiveVectorBuilder<TimeMillisecondType>;

Aliased Type§

struct TimeMillisecondVectorBuilder {
    mutable_array: PrimitiveBuilder<Time32MillisecondType>,
}

Fields§

§mutable_array: PrimitiveBuilder<Time32MillisecondType>

Trait Implementations

Source§

impl<T: LogicalPrimitiveType> MutableVector for PrimitiveVectorBuilder<T>

Source§

fn data_type(&self) -> ConcreteDataType

Returns the data type of the vector.
Source§

fn len(&self) -> usize

Returns the length of the vector.
Source§

fn as_any(&self) -> &dyn Any

Convert to Any, to enable dynamic casting.
Source§

fn as_mut_any(&mut self) -> &mut dyn Any

Convert to mutable Any, to enable dynamic casting.
Source§

fn to_vector(&mut self) -> VectorRef

Convert self to an (immutable) VectorRef and reset self.
Source§

fn to_vector_cloned(&self) -> VectorRef

Convert self to an (immutable) VectorRef and without resetting self.
Source§

fn try_push_value_ref(&mut self, value: ValueRef<'_>) -> Result<()>

Try to push value ref to this mutable vector.
Source§

fn extend_slice_of( &mut self, vector: &dyn Vector, offset: usize, length: usize, ) -> Result<()>

Extend this mutable vector by slice of vector. Read more
Source§

fn push_null(&mut self)

Push null to this mutable vector.
Source§

fn is_empty(&self) -> bool

Returns whether the vector is empty.
Source§

fn push_value_ref(&mut self, value: ValueRef<'_>)

Push value ref to this mutable vector. Read more
Source§

fn push_nulls(&mut self, num_nulls: usize)

Push nulls to this mutable vector.
Source§

impl<T> ScalarVectorBuilder for PrimitiveVectorBuilder<T>
where T: LogicalPrimitiveType, for<'a, 'a> T::Wrapper: Scalar<VectorType = PrimitiveVector<T>> + ScalarRef<'a, ScalarType = T::Wrapper> + Scalar<RefType<'a> = T::Wrapper>,

Source§

type VectorType = PrimitiveVector<T>

Source§

fn with_capacity(capacity: usize) -> Self

Create a new builder with initial capacity.
Source§

fn push( &mut self, value: Option<<Self::VectorType as ScalarVector>::RefItem<'_>>, )

Push a value into the builder.
Source§

fn finish(&mut self) -> Self::VectorType

Build a new vector and reset self.
Source§

fn finish_cloned(&self) -> Self::VectorType

Build a new vector without resetting self.