Package org.apache.calcite.sql.type
Class SqlTypeFactoryImpl.UnknownSqlType
- java.lang.Object
-
- org.apache.calcite.rel.type.RelDataTypeImpl
-
- org.apache.calcite.sql.type.AbstractSqlType
-
- org.apache.calcite.sql.type.BasicSqlType
-
- org.apache.calcite.sql.type.SqlTypeFactoryImpl.UnknownSqlType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,RelDataType
,RelDataTypeFamily
- Enclosing class:
- SqlTypeFactoryImpl
private static class SqlTypeFactoryImpl.UnknownSqlType extends BasicSqlType
The unknown type. Similar to the NULL type, but is only equal to itself.
-
-
Field Summary
-
Fields inherited from class org.apache.calcite.sql.type.AbstractSqlType
isNullable, typeName
-
Fields inherited from class org.apache.calcite.rel.type.RelDataTypeImpl
digest, fieldList
-
Fields inherited from interface org.apache.calcite.rel.type.RelDataType
PRECISION_NOT_SPECIFIED, SCALE_NOT_SPECIFIED
-
-
Constructor Summary
Constructors Constructor Description UnknownSqlType(RelDataTypeFactory typeFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
generateTypeString(java.lang.StringBuilder sb, boolean withDetail)
Generates a string representation of this type.-
Methods inherited from class org.apache.calcite.sql.type.BasicSqlType
checkPrecScale, createWithCharsetAndCollation, createWithNullability, getCharset, getCollation, getLimit, getPrecision, getScale
-
Methods inherited from class org.apache.calcite.sql.type.AbstractSqlType
getFamily, getPrecedenceList, getSqlTypeName, isNullable
-
Methods inherited from class org.apache.calcite.rel.type.RelDataTypeImpl
computeDigest, equals, extra, getComparability, getComponentType, getField, getFieldCount, getFieldList, getFieldNames, getFullTypeString, getIntervalQualifier, getKeyType, getSqlIdentifier, getStructKind, getValueType, hashCode, isDynamicStruct, isStruct, proto, proto, proto, proto, toString
-
-
-
-
Constructor Detail
-
UnknownSqlType
UnknownSqlType(RelDataTypeFactory typeFactory)
-
-
Method Detail
-
generateTypeString
protected void generateTypeString(java.lang.StringBuilder sb, boolean withDetail)
Description copied from class:RelDataTypeImpl
Generates a string representation of this type.- Overrides:
generateTypeString
in classBasicSqlType
- Parameters:
sb
- StringBuffer into which to generate the stringwithDetail
- when true, all detail information needed to compute a unique digest (and return from getFullTypeString) should be included;
-
-