Struct arrow::ipc::gen::Message::RecordBatch [−][src]
pub struct RecordBatch<'a> {
pub _tab: Table<'a>,
}
Expand description
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
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>(
_fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
args: &'args RecordBatchArgs<'args>
) -> WIPOffset<RecordBatch<'bldr>>
number of records / rows. The arrays in the batch should all have this length
Nodes correspond to the pre-ordered flattened logical schema
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
Optional compression of the message body
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
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
Mutably borrows from an owned value. Read more