Interface StructAccessor

All Superinterfaces:
FieldAccessor
All Known Subinterfaces:
PqStruct, RowReader

public interface StructAccessor extends FieldAccessor

Parquet-struct access interface. Extends FieldAccessor with complex getters specific to the Parquet schema-typed world (nested structs, lists, maps) and with index-based mirrors of the FieldAccessor by-name accessors.

Variant objects do not expose these methods — use PqVariantObject for Variant navigation. By-index access lives here rather than on FieldAccessor because the "field index" is meaningful for struct-shaped accessors (the position among the projected children, in the order the projection requests them) but not for Variant objects (whose field order is lexicographic on the metadata key dictionary and rarely matches what a caller would consider "first" / "second").

This interface makes no assumptions about mutability or lifecycle, allowing code to work polymorphically with both RowReader (a stateful, mutable view over the current row) and PqStruct (a flyweight over a nested struct position).

See Also: