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
Fields inherited from class org.apache.calcite.rel.type.RelDataTypeImpl
digest, fieldList, NON_NULLABLE_SUFFIX
Fields inherited from interface org.apache.calcite.rel.type.RelDataType
PRECISION_NOT_SPECIFIED, SCALE_NOT_SPECIFIED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isDynamicStarColName
(String name) Returns true if the column name starts with DYNAMIC_STAR_PREFIX.boolean
Returns 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, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:RelDataType
Returns whether this type has dynamic structure (for "schema-on-read" table).- Specified by:
isDynamicStruct
in interfaceRelDataType
- Overrides:
isDynamicStruct
in classRelDataTypeImpl
-
isDynamicStarColName
Returns true if the column name starts with DYNAMIC_STAR_PREFIX.
-