[][src]Struct arrow::ipc::gen::Message::RecordBatch

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

A data header describing the shared memory layout of a "record" or "row" batch. Some systems call this a "row batch" internally and others a "record batch".

Fields

_tab: Table<'a>

Implementations

impl<'a> RecordBatch<'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 RecordBatchArgs<'args>
) -> WIPOffset<RecordBatch<'bldr>>
[src]

pub const VT_LENGTH: VOffsetT[src]

pub const VT_NODES: VOffsetT[src]

pub const VT_BUFFERS: VOffsetT[src]

pub const VT_COMPRESSION: VOffsetT[src]

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

number of records / rows. The arrays in the batch should all have this length

pub fn nodes(&self) -> Option<&'a [FieldNode]>[src]

Nodes correspond to the pre-ordered flattened logical schema

pub fn buffers(&self) -> Option<&'a [Buffer]>[src]

Buffers correspond to the pre-ordered flattened buffer tree

The number of buffers appended to this list depends on the schema. For example, most primitive arrays will have 2 buffers, 1 for the validity bitmap and 1 for the values. For struct arrays, there will only be a single buffer for the validity (nulls) bitmap

pub fn compression(&self) -> Option<BodyCompression<'a>>[src]

Optional compression of the message body

Trait Implementations

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

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

impl<'a> Debug for RecordBatch<'a>[src]

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

type Inner = RecordBatch<'a>

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for RecordBatch<'a>

impl<'a> Send for RecordBatch<'a>

impl<'a> Sync for RecordBatch<'a>

impl<'a> Unpin for RecordBatch<'a>

impl<'a> UnwindSafe for RecordBatch<'a>

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.

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.

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