Interface SchemaNode

All Known Implementing Classes:
SchemaNode.GroupNode, SchemaNode.PrimitiveNode

public sealed interface SchemaNode permits SchemaNode.PrimitiveNode, SchemaNode.GroupNode
Tree-based representation of Parquet schema for nested data support. Each node represents either a primitive column or a group (struct/list/map).
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Group node representing a struct, list, or map.
    static final record 
    Primitive leaf node representing an actual data column.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the maximum definition level, computed from the schema hierarchy.
    int
    Returns the maximum repetition level, computed from the schema hierarchy.
    Returns the field name.
    Returns the repetition type (required, optional, or repeated).
  • Method Details

    • name

      String name()
      Returns the field name.
    • repetitionType

      RepetitionType repetitionType()
      Returns the repetition type (required, optional, or repeated).
    • maxDefinitionLevel

      int maxDefinitionLevel()
      Returns the maximum definition level, computed from the schema hierarchy.
    • maxRepetitionLevel

      int maxRepetitionLevel()
      Returns the maximum repetition level, computed from the schema hierarchy.