ExArrow.RecordBatch (ex_arrow v0.4.0)

View Source

Arrow record batch handle (opaque reference to native record batch).

A batch is a collection of arrays (columns) with a shared row count. Data stays in native memory; accessors return handles or small metadata.

Summary

Functions

Returns the number of rows in this batch.

Returns the schema of this record batch.

Types

t()

@opaque t()

Functions

num_rows(record_batch)

@spec num_rows(t()) :: non_neg_integer()

Returns the number of rows in this batch.

schema(record_batch)

@spec schema(t()) :: ExArrow.Schema.t()

Returns the schema of this record batch.