public abstract class AbstractSqlType extends RelDataTypeImpl implements Cloneable, Serializable
RelDataType.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isNullable |
protected SqlTypeName |
typeName |
digest, fieldListPRECISION_NOT_SPECIFIED, SCALE_NOT_SPECIFIED| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSqlType(SqlTypeName typeName,
boolean isNullable,
List<? extends RelDataTypeField> fields)
Creates an AbstractSqlType.
|
| Modifier and Type | Method and Description |
|---|---|
RelDataTypeFamily |
getFamily()
Gets a canonical object representing the family of this type.
|
RelDataTypePrecedenceList |
getPrecedenceList() |
SqlTypeName |
getSqlTypeName()
Gets the
SqlTypeName of this type. |
boolean |
isNullable()
Queries whether this type allows null values.
|
computeDigest, equals, extra, generateTypeString, getCharset, getCollation, getComparability, getComponentType, getField, getFieldCount, getFieldList, getFieldNames, getFullTypeString, getIntervalQualifier, getKeyType, getPrecision, getScale, getSqlIdentifier, getValueType, hashCode, isStruct, proto, proto, proto, proto, toStringprotected final SqlTypeName typeName
protected boolean isNullable
protected AbstractSqlType(SqlTypeName typeName, boolean isNullable, List<? extends RelDataTypeField> fields)
typeName - Type nameisNullable - Whether nullablefields - Fields of type, or null if not a record typepublic SqlTypeName getSqlTypeName()
RelDataTypeSqlTypeName of this type.getSqlTypeName in interface RelDataTypegetSqlTypeName in class RelDataTypeImplpublic boolean isNullable()
RelDataTypeisNullable in interface RelDataTypeisNullable in class RelDataTypeImplpublic RelDataTypeFamily getFamily()
RelDataTypegetFamily in interface RelDataTypegetFamily in class RelDataTypeImplpublic RelDataTypePrecedenceList getPrecedenceList()
getPrecedenceList in interface RelDataTypegetPrecedenceList in class RelDataTypeImplCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.