public class RelCrossType extends RelDataTypeImpl
Its fields are those of its constituent records, but unlike a
RelRecordType, those fields' names are not necessarily distinct.
| Modifier and Type | Field and Description |
|---|---|
com.google.common.collect.ImmutableList<RelDataType> |
types |
digest, fieldListPRECISION_NOT_SPECIFIED, SCALE_NOT_SPECIFIED| Constructor and Description |
|---|
RelCrossType(List<RelDataType> types,
List<RelDataTypeField> fields)
Creates a cartesian product type.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateTypeString(StringBuilder sb,
boolean withDetail)
Generates a string representation of this type.
|
List<RelDataTypeField> |
getFieldList()
Gets the fields in a struct type.
|
boolean |
isStruct()
Queries whether this is a structured type.
|
computeDigest, equals, extra, getCharset, getCollation, getComparability, getComponentType, getFamily, getField, getFieldCount, getFieldNames, getFullTypeString, getIntervalQualifier, getKeyType, getPrecedenceList, getPrecision, getScale, getSqlIdentifier, getSqlTypeName, getValueType, hashCode, isNullable, proto, proto, proto, proto, toStringpublic final com.google.common.collect.ImmutableList<RelDataType> types
public RelCrossType(List<RelDataType> types, List<RelDataTypeField> fields)
public boolean isStruct()
RelDataTypeisStruct in interface RelDataTypeisStruct in class RelDataTypeImplpublic List<RelDataTypeField> getFieldList()
RelDataTypegetFieldList in interface RelDataTypegetFieldList 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.