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>
impl<T: LogicalPrimitiveType> MutableVector for PrimitiveVectorBuilder<T>
Source§fn data_type(&self) -> ConcreteDataType
fn data_type(&self) -> ConcreteDataType
Returns the data type of the vector.
Source§fn as_mut_any(&mut self) -> &mut dyn Any
fn as_mut_any(&mut self) -> &mut dyn Any
Convert to mutable Any, to enable dynamic casting.
Source§fn to_vector_cloned(&self) -> VectorRef
fn to_vector_cloned(&self) -> VectorRef
Source§fn try_push_value_ref(&mut self, value: ValueRef<'_>) -> Result<()>
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<()>
fn extend_slice_of( &mut self, vector: &dyn Vector, offset: usize, length: usize, ) -> Result<()>
Extend this mutable vector by slice of
vector
. Read moreSource§fn push_value_ref(&mut self, value: ValueRef<'_>)
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)
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>,
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>,
type VectorType = PrimitiveVector<T>
Source§fn with_capacity(capacity: usize) -> Self
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<'_>>,
)
fn push( &mut self, value: Option<<Self::VectorType as ScalarVector>::RefItem<'_>>, )
Push a value into the builder.
Source§fn finish(&mut self) -> Self::VectorType
fn finish(&mut self) -> Self::VectorType
Build a new vector and reset
self
.Source§fn finish_cloned(&self) -> Self::VectorType
fn finish_cloned(&self) -> Self::VectorType
Build a new vector without resetting
self
.