public class RelDataTypeFactoryImpl.JavaType extends RelDataTypeImpl
digest, fieldListPRECISION_NOT_SPECIFIED, SCALE_NOT_SPECIFIED| Constructor and Description |
|---|
RelDataTypeFactoryImpl.JavaType(Class clazz) |
RelDataTypeFactoryImpl.JavaType(Class clazz,
boolean nullable) |
RelDataTypeFactoryImpl.JavaType(Class clazz,
boolean nullable,
Charset charset,
SqlCollation collation) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateTypeString(StringBuilder sb,
boolean withDetail)
Generates a string representation of this type.
|
Charset |
getCharset()
Gets this type's character set, or null if this type cannot carry a
character set or has no character set defined.
|
SqlCollation |
getCollation()
Gets this type's collation, or null if this type cannot carry a collation
or has no collation defined.
|
RelDataType |
getComponentType()
Gets the component type if this type is a collection, otherwise null.
|
RelDataTypeFamily |
getFamily()
Gets a canonical object representing the family of this type.
|
Class |
getJavaClass() |
SqlTypeName |
getSqlTypeName()
Gets the
SqlTypeName of this type. |
boolean |
isNullable()
Queries whether this type allows null values.
|
computeDigest, equals, extra, getComparability, getField, getFieldCount, getFieldList, getFieldNames, getFullTypeString, getIntervalQualifier, getKeyType, getPrecedenceList, getPrecision, getScale, getSqlIdentifier, getValueType, hashCode, isStruct, proto, proto, proto, proto, toStringpublic RelDataTypeFactoryImpl.JavaType(Class clazz)
public RelDataTypeFactoryImpl.JavaType(Class clazz, boolean nullable)
public RelDataTypeFactoryImpl.JavaType(Class clazz, boolean nullable, Charset charset, SqlCollation collation)
public Class getJavaClass()
public boolean isNullable()
RelDataTypeisNullable in interface RelDataTypeisNullable in class RelDataTypeImplpublic RelDataTypeFamily getFamily()
RelDataTypegetFamily in interface RelDataTypegetFamily in class RelDataTypeImplprotected void generateTypeString(StringBuilder sb, boolean withDetail)
RelDataTypeImplgenerateTypeString in class RelDataTypeImplsb - 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;public RelDataType getComponentType()
RelDataTypegetComponentType in interface RelDataTypegetComponentType in class RelDataTypeImplpublic Charset getCharset()
RelDataTypegetCharset in interface RelDataTypegetCharset in class RelDataTypeImplpublic SqlCollation getCollation()
RelDataTypegetCollation in interface RelDataTypegetCollation in class RelDataTypeImplpublic SqlTypeName getSqlTypeName()
RelDataTypeSqlTypeName of this type.getSqlTypeName in interface RelDataTypegetSqlTypeName in class RelDataTypeImplCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.