Class SubstraitField


  • public final class SubstraitField
    extends Object
    Represents a field in a Substrait schema with its name, type, and optional nested children. This class models the hierarchical structure of Substrait fields, supporting complex types like structs that can contain nested fields.
    • Constructor Detail

      • SubstraitField

        public SubstraitField​(String name,
                              String type,
                              List<SubstraitField> children)
        Constructs a SubstraitField with the specified name, type, and children.
        Parameters:
        name - The name of the field, must not be null
        type - The type of the field, must not be null
        children - The list of child fields for complex types, may be null or empty
        Throws:
        IllegalArgumentException - if name or type is null