Struct google_cloud_bigquery::storage::ipc::DictionaryBatch
pub struct DictionaryBatch<'a> {
pub _tab: Table<'a>,
}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
Fields§
§_tab: Table<'a>Implementations§
§impl<'a> DictionaryBatch<'a>
impl<'a> DictionaryBatch<'a>
pub const VT_ID: u16 = 4u16
pub const VT_DATA: u16 = 6u16
pub const VT_ISDELTA: u16 = 8u16
pub unsafe fn init_from_table(table: Table<'a>) -> DictionaryBatch<'a>
pub fn create<'bldr, 'args, 'mut_bldr>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>, args: &'args DictionaryBatchArgs<'args> ) -> WIPOffset<DictionaryBatch<'bldr>>where 'bldr: 'args, 'args: 'mut_bldr,
pub fn id(&self) -> i64
pub fn data(&self) -> Option<RecordBatch<'a>>
Trait Implementations§
§impl<'a> Clone for DictionaryBatch<'a>
impl<'a> Clone for DictionaryBatch<'a>
§fn clone(&self) -> DictionaryBatch<'a>
fn clone(&self) -> DictionaryBatch<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for DictionaryBatch<'_>
impl Debug for DictionaryBatch<'_>
§impl<'a> Follow<'a> for DictionaryBatch<'a>
impl<'a> Follow<'a> for DictionaryBatch<'a>
type Inner = DictionaryBatch<'a>
§impl<'a> PartialEq<DictionaryBatch<'a>> for DictionaryBatch<'a>
impl<'a> PartialEq<DictionaryBatch<'a>> for DictionaryBatch<'a>
§fn eq(&self, other: &DictionaryBatch<'a>) -> bool
fn eq(&self, other: &DictionaryBatch<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.§impl Verifiable for DictionaryBatch<'_>
impl Verifiable for DictionaryBatch<'_>
§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos in the verifier’s buffer.
Should not need to be called directly.impl<'a> Copy for DictionaryBatch<'a>
impl<'a> StructuralPartialEq for DictionaryBatch<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DictionaryBatch<'a>
impl<'a> Send for DictionaryBatch<'a>
impl<'a> Sync for DictionaryBatch<'a>
impl<'a> Unpin for DictionaryBatch<'a>
impl<'a> UnwindSafe for DictionaryBatch<'a>
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> 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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request