pub struct DictionaryBatchBuilder<State>(/* private fields */);Expand description
Builder for serializing an instance of the DictionaryBatch type.
Can be created using the DictionaryBatch::builder method.
Implementations§
Source§impl DictionaryBatchBuilder<()>
impl DictionaryBatchBuilder<()>
Sourcepub fn id<T0>(self, value: T0) -> DictionaryBatchBuilder<(T0,)>
pub fn id<T0>(self, value: T0) -> DictionaryBatchBuilder<(T0,)>
Setter for the id field.
Sourcepub fn id_as_default(self) -> DictionaryBatchBuilder<(DefaultValue,)>
pub fn id_as_default(self) -> DictionaryBatchBuilder<(DefaultValue,)>
Sets the id field to the default value.
Source§impl<T0> DictionaryBatchBuilder<(T0,)>
impl<T0> DictionaryBatchBuilder<(T0,)>
Sourcepub fn data<T1>(self, value: T1) -> DictionaryBatchBuilder<(T0, T1)>
pub fn data<T1>(self, value: T1) -> DictionaryBatchBuilder<(T0, T1)>
Setter for the data field.
Sourcepub fn data_as_null(self) -> DictionaryBatchBuilder<(T0, ())>
pub fn data_as_null(self) -> DictionaryBatchBuilder<(T0, ())>
Sets the data field to null.
Source§impl<T0, T1> DictionaryBatchBuilder<(T0, T1)>
impl<T0, T1> DictionaryBatchBuilder<(T0, T1)>
Sourcepub fn is_delta<T2>(self, value: T2) -> DictionaryBatchBuilder<(T0, T1, T2)>
pub fn is_delta<T2>(self, value: T2) -> DictionaryBatchBuilder<(T0, T1, T2)>
Setter for the isDelta field.
Sourcepub fn is_delta_as_default(
self,
) -> DictionaryBatchBuilder<(T0, T1, DefaultValue)>
pub fn is_delta_as_default( self, ) -> DictionaryBatchBuilder<(T0, T1, DefaultValue)>
Sets the isDelta field to the default value.
Source§impl<T0, T1, T2> DictionaryBatchBuilder<(T0, T1, T2)>
impl<T0, T1, T2> DictionaryBatchBuilder<(T0, T1, T2)>
Sourcepub fn finish(self, builder: &mut Builder) -> Offset<DictionaryBatch>where
Self: WriteAsOffset<DictionaryBatch>,
pub fn finish(self, builder: &mut Builder) -> Offset<DictionaryBatch>where
Self: WriteAsOffset<DictionaryBatch>,
Finish writing the builder to get an Offset to a serialized DictionaryBatch.
Trait Implementations§
Source§impl<State: Debug> Debug for DictionaryBatchBuilder<State>
impl<State: Debug> Debug for DictionaryBatchBuilder<State>
impl<T0: WriteAsDefault<i64, i64>, T1: WriteAsOptional<Offset<RecordBatch>>, T2: WriteAsDefault<bool, bool>> WriteAs<Offset<DictionaryBatch>> for DictionaryBatchBuilder<(T0, T1, T2)>
impl<T0: WriteAsDefault<i64, i64>, T1: WriteAsOptional<Offset<RecordBatch>>, T2: WriteAsDefault<bool, bool>> WriteAsOffset<DictionaryBatch> for DictionaryBatchBuilder<(T0, T1, T2)>
impl<T0: WriteAsDefault<i64, i64>, T1: WriteAsOptional<Offset<RecordBatch>>, T2: WriteAsDefault<bool, bool>> WriteAsOptional<Offset<DictionaryBatch>> for DictionaryBatchBuilder<(T0, T1, T2)>
Auto Trait Implementations§
impl<State> Freeze for DictionaryBatchBuilder<State>where
State: Freeze,
impl<State> RefUnwindSafe for DictionaryBatchBuilder<State>where
State: RefUnwindSafe,
impl<State> Send for DictionaryBatchBuilder<State>where
State: Send,
impl<State> Sync for DictionaryBatchBuilder<State>where
State: Sync,
impl<State> Unpin for DictionaryBatchBuilder<State>where
State: Unpin,
impl<State> UnwindSafe for DictionaryBatchBuilder<State>where
State: UnwindSafe,
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
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