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, NON_NULLABLE_SUFFIXPRECISION_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.
|
boolean |
isStruct()
Queries whether this is a structured type.
|
computeDigest, equals, extra, getCharset, getCollation, getComparability, getComponentType, getFamily, getField, getFieldCount, getFieldList, getFieldMap, getFieldNames, getFullTypeString, getIntervalQualifier, getKeyType, getPrecedenceList, getPrecision, getScale, getSqlIdentifier, getSqlTypeName, getStructKind, getValueType, hashCode, isDynamicStruct, isNullable, proto, proto, proto, proto, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitequalsSansFieldNamespublic 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 RelDataTypeImplprotected void generateTypeString(StringBuilder sb, boolean withDetail)
RelDataTypeImplgenerateTypeString in class RelDataTypeImplsb - 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-2022 Apache Software Foundation. All Rights Reserved.