public abstract static class Prepare.AbstractPreparingTable extends Object implements Prepare.PreparingTable
Prepare.PreparingTable with an implementation
for columnHasDefaultValue(org.apache.calcite.rel.type.RelDataType, int, org.apache.calcite.sql2rel.InitializerContext).RelOptTable.ToRelContext, RelOptTable.ViewExpander| Constructor and Description |
|---|
AbstractPreparingTable() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
columnHasDefaultValue(RelDataType rowType,
int ordinal,
InitializerContext initializerContext)
Returns whether the ordinal column has a default value.
|
RelOptTable |
extend(List<RelDataTypeField> extendedFields)
Returns a table with the given extra fields.
|
protected abstract RelOptTable |
extend(Table extendedTable)
Implementation-specific code to instantiate a new
RelOptTable
based on a Table that has been extended. |
List<ColumnStrategy> |
getColumnStrategies()
Returns a list describing how each column is populated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCollationList, getDistribution, getExpression, getQualifiedName, getReferentialConstraints, getRelOptSchema, getRowCount, getRowType, isKey, toRelgetAllowedAccess, getMonotonicity, getQualifiedName, getRowType, supportsModalitypublic boolean columnHasDefaultValue(RelDataType rowType, int ordinal, InitializerContext initializerContext)
SqlValidatorTablecolumnHasDefaultValue in interface SqlValidatorTablepublic final RelOptTable extend(List<RelDataTypeField> extendedFields)
RelOptTableThe extended table includes the fields of this base table plus the extended fields that do not have the same name as a field in the base table.
extend in interface RelOptTableprotected abstract RelOptTable extend(Table extendedTable)
RelOptTable
based on a Table that has been extended.public List<ColumnStrategy> getColumnStrategies()
RelOptTablegetColumnStrategies in interface RelOptTableCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.