API reference
python:irx:irx.record_batch.RecordBatchBuilder
class RecordBatchBuilder
RecordBatchBuilder(schema: RecordBatchSchema)
Source: packages/irx/src/irx/record_batch.py:1040
RecordBatchBuilder.
Attributes
-
_handle — Type: ctypes.c_void_p
-
_lib — Type: ctypes.CDLL
-
_released — Type: bool
-
_col_types — Type: list[IrxColumnType]
-
_elem_types — Type: list[Optional[IrxColumnType]]
-
_struct_fields — Type: list[Optional[list[tuple[str, IrxColumnType]]]]
Methods
-
__del__ — Release the builder when the object is garbage collected.
-
__init__ — Create a builder for the supplied schema.
-
append_bool — Append a boolean value to a column.
-
append_date — Append a value to a date32 or date64 column.
-
append_float32 — Append a 32-bit floating-point value to a column.
-
append_float64 — Append a 64-bit floating-point value to a column.
-
append_int16 — Append a 16-bit signed integer to a column.
-
append_int32 — Append a 32-bit signed integer to a column.
-
append_int64 — Append a 64-bit signed integer to a column.
-
append_int8 — Append an 8-bit signed integer to a column.
-
append_list — Append one list slot to a list column.
-
append_null — Append a null value to a column.
-
append_string — Append a UTF-8 string to a utf8 or large_utf8 column.
-
append_struct — Append one struct slot to a struct column.
-
append_time — Append a value to a time32 or time64 column.
-
append_timestamp — Append a value to a timestamp column.
-
append_uint16 — Append a 16-bit unsigned integer to a column.
-
append_uint32 — Append a 32-bit unsigned integer to a column.
-
append_uint64 — Append a 64-bit unsigned integer to a column.
-
append_uint8 — Append an 8-bit unsigned integer to a column.
-
finish — finish.
-
release — Release the underlying builder handle.