public abstract class RecordDataType extends Object
Constructor and Description |
---|
RecordDataType() |
Modifier and Type | Method and Description |
---|---|
abstract List<String> |
getFieldNames() |
abstract List<AbstractMap.SimpleImmutableEntry<org.apache.calcite.sql.type.SqlTypeName,Boolean>> |
getFieldSqlTypeNames() |
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory factory)
This method constructs a
RelDataType based on the
RecordDataType 's field sql types and field names. |
public abstract List<AbstractMap.SimpleImmutableEntry<org.apache.calcite.sql.type.SqlTypeName,Boolean>> getFieldSqlTypeNames()
SqlTypeName
of columns in the table as a pair with its nullabilitypublic final org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory factory)
RelDataType
based on the
RecordDataType
's field sql types and field names.factory
- helps construct a RelDataType
Copyright © 1970 The Apache Software Foundation. All rights reserved.