public class RelRecordType extends RelDataTypeImpl implements Serializable
digest, fieldListPRECISION_NOT_SPECIFIED, SCALE_NOT_SPECIFIED| Constructor and Description |
|---|
RelRecordType(List<RelDataTypeField> fields)
Creates a
RecordType. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateTypeString(StringBuilder sb,
boolean withDetail)
Generates a string representation of this type.
|
int |
getPrecision()
Gets the JDBC-defined precision for values of this type.
|
SqlTypeName |
getSqlTypeName()
Gets the
SqlTypeName of this type. |
boolean |
isNullable()
Queries whether this type allows null values.
|
computeDigest, equals, extra, getCharset, getCollation, getComparability, getComponentType, getFamily, getField, getFieldCount, getFieldList, getFieldNames, getFullTypeString, getIntervalQualifier, getKeyType, getPrecedenceList, getScale, getSqlIdentifier, getValueType, hashCode, isStruct, proto, proto, proto, proto, toStringpublic RelRecordType(List<RelDataTypeField> fields)
RecordType. This should only be called from a
factory method.public SqlTypeName getSqlTypeName()
RelDataTypeSqlTypeName of this type.getSqlTypeName in interface RelDataTypegetSqlTypeName in class RelDataTypeImplpublic boolean isNullable()
RelDataTypeisNullable in interface RelDataTypeisNullable in class RelDataTypeImplpublic int getPrecision()
RelDataTypeReturns RelDataType.PRECISION_NOT_SPECIFIED (-1) if precision is not
applicable for this type.
getPrecision in interface RelDataTypegetPrecision 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;Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.