Struct arrow::ipc::gen::Schema::DictionaryEncoding[][src]

pub struct DictionaryEncoding<'a> {
    pub _tab: Table<'a>,
}

Fields

_tab: Table<'a>

Implementations

impl<'a> DictionaryEncoding<'a>[src]

pub fn init_from_table(table: Table<'a>) -> Self[src]

pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>(
    _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
    args: &'args DictionaryEncodingArgs<'args>
) -> WIPOffset<DictionaryEncoding<'bldr>>
[src]

pub const VT_ID: VOffsetT[src]

pub const VT_INDEXTYPE: VOffsetT[src]

pub const VT_ISORDERED: VOffsetT[src]

pub const VT_DICTIONARYKIND: VOffsetT[src]

pub fn id(&self) -> i64[src]

The known dictionary id in the application where this data is used. In the file or streaming formats, the dictionary ids are found in the DictionaryBatch messages

pub fn indexType(&self) -> Option<Int<'a>>[src]

The dictionary indices are constrained to be non-negative integers. If this field is null, the indices must be signed int32. To maximize cross-language compatibility and performance, implementations are recommended to prefer signed integer types over unsigned integer types and to avoid uint64 indices unless they are required by an application.

pub fn isOrdered(&self) -> bool[src]

By default, dictionaries are not ordered, or the order does not have semantic meaning. In some statistical, applications, dictionary-encoding is used to represent ordered categorical data, and we provide a way to preserve that metadata here

pub fn dictionaryKind(&self) -> DictionaryKind[src]

Trait Implementations

impl<'a> Clone for DictionaryEncoding<'a>[src]

fn clone(&self) -> DictionaryEncoding<'a>[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for DictionaryEncoding<'_>[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'a> Follow<'a> for DictionaryEncoding<'a>[src]

type Inner = DictionaryEncoding<'a>

fn follow(buf: &'a [u8], loc: usize) -> Self::Inner[src]

impl<'a> PartialEq<DictionaryEncoding<'a>> for DictionaryEncoding<'a>[src]

fn eq(&self, other: &DictionaryEncoding<'a>) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &DictionaryEncoding<'a>) -> bool[src]

This method tests for !=.

impl Verifiable for DictionaryEncoding<'_>[src]

fn run_verifier(
    v: &mut Verifier<'_, '_>,
    pos: usize
) -> Result<(), InvalidFlatbuffer>
[src]

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer. Should not need to be called directly. Read more

impl<'a> Copy for DictionaryEncoding<'a>[src]

impl<'a> StructuralPartialEq for DictionaryEncoding<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for DictionaryEncoding<'a>

impl<'a> Send for DictionaryEncoding<'a>

impl<'a> Sync for DictionaryEncoding<'a>

impl<'a> Unpin for DictionaryEncoding<'a>

impl<'a> UnwindSafe for DictionaryEncoding<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V