Class DynamicRecordType

java.lang.Object
org.apache.calcite.rel.type.RelDataTypeImpl
org.apache.calcite.rel.type.DynamicRecordType
All Implemented Interfaces:
RelDataType, RelDataTypeFamily
Direct Known Subclasses:
DynamicRecordTypeImpl

public abstract class DynamicRecordType extends RelDataTypeImpl
Specific type of RelRecordType that corresponds to a dynamic table, where columns are created as they are requested.
  • Field Details

  • Constructor Details

    • DynamicRecordType

      public DynamicRecordType()
  • Method Details

    • isDynamicStruct

      public boolean isDynamicStruct()
      Description copied from interface: RelDataType
      Returns whether this type has dynamic structure (for "schema-on-read" table).
      Specified by:
      isDynamicStruct in interface RelDataType
      Overrides:
      isDynamicStruct in class RelDataTypeImpl
    • isDynamicStarColName

      public static boolean isDynamicStarColName(String name)
      Returns true if the column name starts with DYNAMIC_STAR_PREFIX.