public class DDLTable extends Object implements org.apache.calcite.schema.Table, org.apache.calcite.rel.type.RelDataType
Constructor and Description |
---|
DDLTable(SQLCreateTableStatement stmt) |
Modifier and Type | Method and Description |
---|---|
Charset |
getCharset() |
org.apache.calcite.sql.SqlCollation |
getCollation() |
org.apache.calcite.rel.type.RelDataTypeComparability |
getComparability() |
org.apache.calcite.rel.type.RelDataType |
getComponentType() |
org.apache.calcite.rel.type.RelDataTypeFamily |
getFamily() |
org.apache.calcite.rel.type.RelDataTypeField |
getField(String fieldName,
boolean caseSensitive,
boolean elideRecord) |
int |
getFieldCount() |
List<org.apache.calcite.rel.type.RelDataTypeField> |
getFieldList() |
List<String> |
getFieldNames() |
String |
getFullTypeString() |
org.apache.calcite.sql.SqlIntervalQualifier |
getIntervalQualifier() |
org.apache.calcite.schema.Schema.TableType |
getJdbcTableType() |
org.apache.calcite.rel.type.RelDataType |
getKeyType() |
org.apache.calcite.rel.type.RelDataTypePrecedenceList |
getPrecedenceList() |
int |
getPrecision() |
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
int |
getScale() |
org.apache.calcite.sql.SqlIdentifier |
getSqlIdentifier() |
org.apache.calcite.sql.type.SqlTypeName |
getSqlTypeName() |
org.apache.calcite.schema.Statistic |
getStatistic() |
org.apache.calcite.rel.type.StructKind |
getStructKind() |
org.apache.calcite.rel.type.RelDataType |
getValueType() |
boolean |
isDynamicStruct() |
boolean |
isNullable() |
boolean |
isRolledUp(String column) |
boolean |
isStruct() |
boolean |
rolledUpColumnValidInsideAgg(String column,
org.apache.calcite.sql.SqlCall call,
org.apache.calcite.sql.SqlNode parent,
org.apache.calcite.config.CalciteConnectionConfig config) |
public DDLTable(SQLCreateTableStatement stmt)
public org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
getRowType
in interface org.apache.calcite.schema.Table
public org.apache.calcite.schema.Statistic getStatistic()
getStatistic
in interface org.apache.calcite.schema.Table
public org.apache.calcite.schema.Schema.TableType getJdbcTableType()
getJdbcTableType
in interface org.apache.calcite.schema.Table
public boolean isRolledUp(String column)
isRolledUp
in interface org.apache.calcite.schema.Table
public boolean rolledUpColumnValidInsideAgg(String column, org.apache.calcite.sql.SqlCall call, org.apache.calcite.sql.SqlNode parent, org.apache.calcite.config.CalciteConnectionConfig config)
rolledUpColumnValidInsideAgg
in interface org.apache.calcite.schema.Table
public boolean isStruct()
isStruct
in interface org.apache.calcite.rel.type.RelDataType
public List<org.apache.calcite.rel.type.RelDataTypeField> getFieldList()
getFieldList
in interface org.apache.calcite.rel.type.RelDataType
public List<String> getFieldNames()
getFieldNames
in interface org.apache.calcite.rel.type.RelDataType
public int getFieldCount()
getFieldCount
in interface org.apache.calcite.rel.type.RelDataType
public org.apache.calcite.rel.type.StructKind getStructKind()
getStructKind
in interface org.apache.calcite.rel.type.RelDataType
public org.apache.calcite.rel.type.RelDataTypeField getField(String fieldName, boolean caseSensitive, boolean elideRecord)
getField
in interface org.apache.calcite.rel.type.RelDataType
public boolean isNullable()
isNullable
in interface org.apache.calcite.rel.type.RelDataType
public org.apache.calcite.rel.type.RelDataType getComponentType()
getComponentType
in interface org.apache.calcite.rel.type.RelDataType
public org.apache.calcite.rel.type.RelDataType getKeyType()
getKeyType
in interface org.apache.calcite.rel.type.RelDataType
public org.apache.calcite.rel.type.RelDataType getValueType()
getValueType
in interface org.apache.calcite.rel.type.RelDataType
public Charset getCharset()
getCharset
in interface org.apache.calcite.rel.type.RelDataType
public org.apache.calcite.sql.SqlCollation getCollation()
getCollation
in interface org.apache.calcite.rel.type.RelDataType
public org.apache.calcite.sql.SqlIntervalQualifier getIntervalQualifier()
getIntervalQualifier
in interface org.apache.calcite.rel.type.RelDataType
public int getPrecision()
getPrecision
in interface org.apache.calcite.rel.type.RelDataType
public int getScale()
getScale
in interface org.apache.calcite.rel.type.RelDataType
public org.apache.calcite.sql.type.SqlTypeName getSqlTypeName()
getSqlTypeName
in interface org.apache.calcite.rel.type.RelDataType
public org.apache.calcite.sql.SqlIdentifier getSqlIdentifier()
getSqlIdentifier
in interface org.apache.calcite.rel.type.RelDataType
public String getFullTypeString()
getFullTypeString
in interface org.apache.calcite.rel.type.RelDataType
public org.apache.calcite.rel.type.RelDataTypeFamily getFamily()
getFamily
in interface org.apache.calcite.rel.type.RelDataType
public org.apache.calcite.rel.type.RelDataTypePrecedenceList getPrecedenceList()
getPrecedenceList
in interface org.apache.calcite.rel.type.RelDataType
public org.apache.calcite.rel.type.RelDataTypeComparability getComparability()
getComparability
in interface org.apache.calcite.rel.type.RelDataType
public boolean isDynamicStruct()
isDynamicStruct
in interface org.apache.calcite.rel.type.RelDataType
Copyright © 2013–2017 Alibaba Group. All rights reserved.