public class MultisetSqlType extends AbstractSqlType
Modifier and Type | Field and Description |
---|---|
private RelDataType |
elementType |
isNullable, typeName
digest, fieldList
PRECISION_NOT_SPECIFIED, SCALE_NOT_SPECIFIED
Constructor and Description |
---|
MultisetSqlType(RelDataType elementType,
boolean isNullable)
Constructs a new MultisetSqlType.
|
Modifier and Type | Method and Description |
---|---|
protected void |
generateTypeString(java.lang.StringBuilder sb,
boolean withDetail)
Generates a string representation of this type.
|
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.
|
RelDataTypePrecedenceList |
getPrecedenceList() |
getSqlTypeName, isNullable
computeDigest, equals, extra, getCharset, getCollation, getComparability, getField, getFieldCount, getFieldList, getFieldNames, getFullTypeString, getIntervalQualifier, getKeyType, getPrecision, getScale, getSqlIdentifier, getStructKind, getValueType, hashCode, isDynamicStruct, isStruct, proto, proto, proto, proto, toString
private final RelDataType elementType
public MultisetSqlType(RelDataType elementType, boolean isNullable)
protected void generateTypeString(java.lang.StringBuilder sb, boolean withDetail)
RelDataTypeImpl
generateTypeString
in class RelDataTypeImpl
sb
- StringBuilder 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()
RelDataType
getComponentType
in interface RelDataType
getComponentType
in class RelDataTypeImpl
public RelDataTypeFamily getFamily()
RelDataType
getFamily
in interface RelDataType
getFamily
in class AbstractSqlType
public RelDataTypePrecedenceList getPrecedenceList()
getPrecedenceList
in interface RelDataType
getPrecedenceList
in class AbstractSqlType
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.