API reference

python:irx:irx.record_batch.RecordBatch.get_struct

method get_struct

get_struct(col: int, row: int) -> Optional[dict[str, Any]]

Source: packages/irx/src/irx/record_batch.py:1947

Return the struct at a struct-column row, or None if it is null.

Fields come back keyed by name; values are raw storage values (numbers for numeric fields, raw storage ints for temporal fields, matching the scalar getters). A null struct slot returns None.

Parameters

Returns

Type: Optional[dict[str, Any]]

Search documentation

Type to search.