public abstract static class Prepare.AbstractPreparingTable extends java.lang.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(java.util.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. |
java.util.List<ColumnStrategy> |
getColumnStrategies()
Returns a list describing how each column is populated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCollationList, getDistribution, getExpression, getQualifiedName, getReferentialConstraints, getRelOptSchema, getRowCount, getRowType, isKey, toRel
getAllowedAccess, getMonotonicity, getQualifiedName, getRowType, isTemporal, supportsModality
public boolean columnHasDefaultValue(RelDataType rowType, int ordinal, InitializerContext initializerContext)
SqlValidatorTable
columnHasDefaultValue
in interface SqlValidatorTable
public final RelOptTable extend(java.util.List<RelDataTypeField> extendedFields)
RelOptTable
The 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 RelOptTable
protected abstract RelOptTable extend(Table extendedTable)
RelOptTable
based on a Table
that has been extended.public java.util.List<ColumnStrategy> getColumnStrategies()
RelOptTable
getColumnStrategies
in interface RelOptTable
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.