RecordBatch
struct RecordBatchA contiguous run of rows as Arrow arrays, one per selected column.
Implements Copyable, Defaultable, Movable
- Fields
arena: ArrayArenaroots: List[Int]num_rows: Int
__init__
def __init__(out self) num_columns
def num_columns(self) -> Int column
def column(ref self, i: Int) -> ref[self.arena.nodes["element"]] ArrayData child
def child(ref self, node: Int, k: Int) -> ref[self.arena.nodes["element"]] ArrayData name
def name(self, i: Int) -> String type
def type(self, i: Int) -> ArrowType export_c
def export_c(self, i: Int) -> ExportedArray Column i over the Arrow C Data Interface. The result owns copies of every buffer, so it outlives this batch.
column_i64
def column_i64(self, i: Int) -> Tuple[List[Int64], List[Bool]] column_f64
def column_f64(self, i: Int) -> Tuple[List[Float64], List[Bool]] column_bool
def column_bool(self, i: Int) -> Tuple[List[Bool], List[Bool]] column_str
def column_str(self, i: Int) -> Tuple[List[String], List[Bool]]