ColumnBuilder
struct ColumnBuilderOne column's values, before they become an Arrow array.
Implements Copyable, Movable, Sized
- Fields
name: Stringfield_id: Intkind: UInt8precision: Intscale: Intlength: Intnullable: Boolvalues: List[Datum]
__init__
def __init__(out self, var name: String, field_id: Int, kind: UInt8, precision: Int = Int(0), scale: Int = Int(0), length: Int = Int(0), nullable: Bool = True) of
def of(schema: Schema, field_id: Int) -> Self A builder typed by one of the table's columns.
add
def add(mut self, var value: Datum) add_null
def add_null(mut self) __len__
def __len__(self) -> Int build_tree
def build_tree(self) -> ColumnTree The same array, ready to sit beside a nested one.
build
def build(self) -> ArrayData