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, fieldList
PRECISION_NOT_SPECIFIED, SCALE_NOT_SPECIFIED
Constructor and Description |
---|
RelCrossType(java.util.List<RelDataType> types,
java.util.List<RelDataTypeField> fields)
Creates a cartesian product type.
|
Modifier and Type | Method and Description |
---|---|
protected void |
generateTypeString(java.lang.StringBuilder sb,
boolean withDetail)
Generates a string representation of this type.
|
java.util.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, getStructKind, getValueType, hashCode, isDynamicStruct, isNullable, proto, proto, proto, proto, toString
public final com.google.common.collect.ImmutableList<RelDataType> types
public RelCrossType(java.util.List<RelDataType> types, java.util.List<RelDataTypeField> fields)
public boolean isStruct()
RelDataType
isStruct
in interface RelDataType
isStruct
in class RelDataTypeImpl
public java.util.List<RelDataTypeField> getFieldList()
RelDataType
getFieldList
in interface RelDataType
getFieldList
in class RelDataTypeImpl
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;Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.