pub struct ColumnBuilder { /* private fields */ }Implementations§
Source§impl ColumnBuilder
impl ColumnBuilder
pub fn with_capacity(target: ValueType, capacity: usize) -> Self
pub fn like(view: &ColumnView<'_>, capacity: usize) -> Self
pub fn from_view(view: &ColumnView<'_>) -> Self
pub fn inner(&self) -> &TypedBuilder
pub fn push<T>(&mut self, value: T)
pub fn set_dictionary_id(&mut self, id: DictionaryId)
pub fn dictionary_id(&self) -> Option<DictionaryId>
pub fn extend(&mut self, other: &ColumnView<'_>) -> Result<()>
pub fn append_values(&mut self, other: &ColumnView<'_>) -> Result<()>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn get_type(&self) -> ValueType
pub fn finish(self, name: &str) -> (FieldRef, ArrayRef)
Source§impl ColumnBuilder
impl ColumnBuilder
Source§impl ColumnBuilder
impl ColumnBuilder
Source§impl ColumnBuilder
impl ColumnBuilder
pub fn push_value(&mut self, value: Value)
Trait Implementations§
Source§impl Debug for ColumnBuilder
impl Debug for ColumnBuilder
Source§impl Push<DictionaryEntryId> for ColumnBuilder
impl Push<DictionaryEntryId> for ColumnBuilder
fn push(&mut self, value: DictionaryEntryId)
Source§impl Push<IdentityId> for ColumnBuilder
impl Push<IdentityId> for ColumnBuilder
fn push(&mut self, value: IdentityId)
Auto Trait Implementations§
impl Freeze for ColumnBuilder
impl RefUnwindSafe for ColumnBuilder
impl Send for ColumnBuilder
impl Sync for ColumnBuilder
impl Unpin for ColumnBuilder
impl UnsafeUnpin for ColumnBuilder
impl UnwindSafe for ColumnBuilder
Blanket Implementations§
impl<T> Allocation for T
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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