Package org.apache.calcite.rel.type
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
Specific type of RelRecordType that corresponds to a dynamic table,
where columns are created as they are requested.
-
Field Summary
FieldsFields inherited from class org.apache.calcite.rel.type.RelDataTypeImpl
digest, fieldList, NON_NULLABLE_SUFFIXFields inherited from interface org.apache.calcite.rel.type.RelDataType
PRECISION_NOT_SPECIFIED, SCALE_NOT_SPECIFIED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisDynamicStarColName(String name) Returns true if the column name starts with DYNAMIC_STAR_PREFIX.booleanReturns whether this type has dynamic structure (for "schema-on-read" table).Methods inherited from class org.apache.calcite.rel.type.RelDataTypeImpl
computeDigest, equals, extra, generateTypeString, getCharset, getCollation, getComparability, getComponentType, getFamily, getField, getFieldCount, getFieldList, getFieldMap, getFieldNames, getFullTypeString, getIntervalQualifier, getKeyType, getPrecedenceList, getPrecision, getScale, getSqlIdentifier, getSqlTypeName, getStructKind, getValueType, hashCode, isNullable, isStruct, proto, proto, proto, proto, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.calcite.rel.type.RelDataType
equalsSansFieldNames, equalsSansFieldNamesAndNullability, getMeasureElementType, isMeasure
-
Field Details
-
DYNAMIC_STAR_PREFIX
- See Also:
-
-
Constructor Details
-
DynamicRecordType
public DynamicRecordType()
-
-
Method Details
-
isDynamicStruct
public boolean isDynamicStruct()Description copied from interface:RelDataTypeReturns whether this type has dynamic structure (for "schema-on-read" table).- Specified by:
isDynamicStructin interfaceRelDataType- Overrides:
isDynamicStructin classRelDataTypeImpl
-
isDynamicStarColName
Returns true if the column name starts with DYNAMIC_STAR_PREFIX.
-