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:1840
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
-
col — Source column or column selector.; Type: int
-
row — Row index or row data.; Type: int
Returns
Structured representation of this node.; Type: Optional[dict[str, Any]]