pub struct DictionaryBatch {
pub id: i64,
pub data: Option<Box<RecordBatch>>,
pub is_delta: bool,
}Expand description
For sending dictionary encoding information. Any Field can be dictionary-encoded, but in this case none of its children may be dictionary-encoded. There is one vector / column per dictionary, but that vector / column may be spread across multiple dictionary batches by using the isDelta flag
Generated from these locations:
- Table
DictionaryBatchin the fileMessage.fbs:127
Fields§
§id: i64The field id in the table DictionaryBatch
data: Option<Box<RecordBatch>>The field data in the table DictionaryBatch
is_delta: boolIf isDelta is true the values in the dictionary are to be appended to a dictionary with the indicated id. If isDelta is false this dictionary should replace the existing dictionary.
Implementations§
Source§impl DictionaryBatch
impl DictionaryBatch
Sourcepub fn builder() -> DictionaryBatchBuilder<()>
pub fn builder() -> DictionaryBatchBuilder<()>
Creates a DictionaryBatchBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_id: impl WriteAsDefault<i64, i64>, field_data: impl WriteAsOptional<Offset<RecordBatch>>, field_is_delta: impl WriteAsDefault<bool, bool>, ) -> Offset<Self>
Trait Implementations§
Source§impl Clone for DictionaryBatch
impl Clone for DictionaryBatch
Source§fn clone(&self) -> DictionaryBatch
fn clone(&self) -> DictionaryBatch
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DictionaryBatch
impl Debug for DictionaryBatch
Source§impl Default for DictionaryBatch
impl Default for DictionaryBatch
Source§impl<'de> Deserialize<'de> for DictionaryBatch
impl<'de> Deserialize<'de> for DictionaryBatch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Hash for DictionaryBatch
impl Hash for DictionaryBatch
Source§impl Ord for DictionaryBatch
impl Ord for DictionaryBatch
Source§fn cmp(&self, other: &DictionaryBatch) -> Ordering
fn cmp(&self, other: &DictionaryBatch) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for DictionaryBatch
impl PartialEq for DictionaryBatch
Source§impl PartialOrd for DictionaryBatch
impl PartialOrd for DictionaryBatch
Source§impl Serialize for DictionaryBatch
impl Serialize for DictionaryBatch
Source§impl<'a> TryFrom<DictionaryBatchRef<'a>> for DictionaryBatch
impl<'a> TryFrom<DictionaryBatchRef<'a>> for DictionaryBatch
impl Eq for DictionaryBatch
impl StructuralPartialEq for DictionaryBatch
impl VectorWrite<Offset<DictionaryBatch>> for DictionaryBatch
§Safety
The planus compiler generates implementations that initialize
the bytes in write_values.
impl WriteAs<Offset<DictionaryBatch>> for DictionaryBatch
impl WriteAsOffset<DictionaryBatch> for DictionaryBatch
impl<T0: WriteAsDefault<i64, i64>, T1: WriteAsOptional<Offset<RecordBatch>>, T2: WriteAsDefault<bool, bool>> WriteAsOffset<DictionaryBatch> for DictionaryBatchBuilder<(T0, T1, T2)>
impl WriteAsOptional<Offset<DictionaryBatch>> for DictionaryBatch
Auto Trait Implementations§
impl Freeze for DictionaryBatch
impl RefUnwindSafe for DictionaryBatch
impl Send for DictionaryBatch
impl Sync for DictionaryBatch
impl Unpin for DictionaryBatch
impl UnwindSafe for DictionaryBatch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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>
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>
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