RelNode.Context| Modifier and Type | Field and Description |
|---|---|
JdbcTable |
jdbcTable |
digest, id, rowType, traitSet| Modifier | Constructor and Description |
|---|---|
protected |
JdbcTableScan(RelOptCluster cluster,
List<RelHint> hints,
RelOptTable table,
JdbcTable jdbcTable,
JdbcConvention jdbcConvention) |
| Modifier and Type | Method and Description |
|---|---|
RelNode |
copy(RelTraitSet traitSet,
List<RelNode> inputs)
Creates a copy of this relational expression, perhaps changing traits and
inputs.
|
SqlImplementor.Result |
implement(JdbcImplementor implementor) |
RelNode |
withHints(List<RelHint> hintList)
Returns a new relational expression with the specified hints
hintList. |
accept, computeSelfCost, deriveRowType, estimateRowCount, explainTerms, getHints, getTable, identity, identity, projectaccept, childrenAccept, collectVariablesSet, collectVariablesUsed, deepEquals, deepHashCode, equals, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTraitSet, getVariablesSet, hashCode, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, replaceInput, sole, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, deepEquals, deepHashCode, estimateRowCount, explain, explain, fieldIsNullable, getConvention, getCorrelVariable, getDigest, getExpectedInputRowType, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTable, getVariablesSet, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, replaceInputgetCluster, getDescription, getId, getTraitSetattachHintspublic final JdbcTable jdbcTable
protected JdbcTableScan(RelOptCluster cluster, List<RelHint> hints, RelOptTable table, JdbcTable jdbcTable, JdbcConvention jdbcConvention)
public RelNode copy(RelTraitSet traitSet, List<RelNode> inputs)
RelNodeSub-classes with other important attributes are encouraged to create variants of this method with more parameters.
copy in interface RelNodecopy in class AbstractRelNodetraitSet - Trait setinputs - Inputspublic SqlImplementor.Result implement(JdbcImplementor implementor)
public RelNode withHints(List<RelHint> hintList)
HintablehintList.
This method should be overridden by every logical node that supports hint. It is only for internal use during decorrelation.
Sub-class should return a new copy of the relational expression.
The default implementation returns the relational expression directly only because not every kind of relational expression supports hints.
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.