@Internal
public final class StructuredRelDataType
extends org.apache.calcite.sql.type.ObjectSqlType
RelDataType representation of a StructuredType.
It extends ObjectSqlType for preserving the original logical type (including an
optional implementation class) and supporting anonymous/unregistered structured types from Table
API.
| Modifier and Type | Method and Description |
|---|---|
protected void |
computeDigest() |
static StructuredRelDataType |
create(org.apache.flink.table.planner.calcite.FlinkTypeFactory factory,
org.apache.flink.table.types.logical.StructuredType structuredType) |
StructuredRelDataType |
createWithNullability(boolean nullable) |
protected void |
generateTypeString(StringBuilder sb,
boolean withDetail) |
org.apache.calcite.rel.type.RelDataTypeFamily |
getFamily() |
org.apache.flink.table.types.logical.StructuredType |
getStructuredType() |
getComparability, getSqlIdentifier, setFamilygetPrecedenceList, getSqlTypeName, isNullableequals, extra, getCharset, getCollation, getComponentType, getField, getFieldCount, getFieldList, getFieldNames, getFullTypeString, getIntervalQualifier, getKeyType, getPrecision, getScale, getStructKind, getValueType, hashCode, isDynamicStruct, isStruct, proto, proto, proto, proto, toStringpublic static StructuredRelDataType create(org.apache.flink.table.planner.calcite.FlinkTypeFactory factory, org.apache.flink.table.types.logical.StructuredType structuredType)
public org.apache.flink.table.types.logical.StructuredType getStructuredType()
public StructuredRelDataType createWithNullability(boolean nullable)
public org.apache.calcite.rel.type.RelDataTypeFamily getFamily()
getFamily in interface org.apache.calcite.rel.type.RelDataTypegetFamily in class org.apache.calcite.sql.type.ObjectSqlTypeprotected void generateTypeString(StringBuilder sb, boolean withDetail)
generateTypeString in class org.apache.calcite.sql.type.ObjectSqlTypeprotected void computeDigest()
computeDigest in class org.apache.calcite.rel.type.RelDataTypeImplCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.