Package org.apache.calcite.rel.core
Class TableSpool
java.lang.Object
org.apache.calcite.rel.AbstractRelNode
org.apache.calcite.rel.SingleRel
org.apache.calcite.rel.core.Spool
org.apache.calcite.rel.core.TableSpool
- All Implemented Interfaces:
Cloneable,RelOptNode,RelNode
- Direct Known Subclasses:
EnumerableTableSpool,LogicalTableSpool
Spool that writes into a table.
NOTE: The current API is experimental and subject to change without notice.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.rel.core.Spool
Spool.TypeNested classes/interfaces inherited from interface org.apache.calcite.rel.RelNode
RelNode.Context -
Field Summary
FieldsFields inherited from class org.apache.calcite.rel.AbstractRelNode
digest, id, rowType, traitSet -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTableSpool(RelOptCluster cluster, RelTraitSet traitSet, RelNode input, Spool.Type readType, Spool.Type writeType, RelOptTable table) -
Method Summary
Modifier and TypeMethodDescriptionDescribes the inputs and attributes of this relational expression.getTable()If this relational expression represents an access to a table, returns that table, otherwise returns null.Methods inherited from class org.apache.calcite.rel.SingleRel
childrenAccept, deriveRowType, estimateRowCount, getInput, getInputs, replaceInputMethods inherited from class org.apache.calcite.rel.AbstractRelNode
accept, accept, collectVariablesSet, collectVariablesUsed, computeSelfCost, deepEquals, deepHashCode, equals, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getRelDigest, getRelTypeName, getRowType, getTraitSet, getVariablesSet, hashCode, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, sole, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.calcite.rel.RelNode
explain, fieldIsNullable, stripped
-
Field Details
-
table
-
-
Constructor Details
-
TableSpool
protected TableSpool(RelOptCluster cluster, RelTraitSet traitSet, RelNode input, Spool.Type readType, Spool.Type writeType, RelOptTable table)
-
-
Method Details
-
getTable
Description copied from interface:RelNodeIf this relational expression represents an access to a table, returns that table, otherwise returns null.- Specified by:
getTablein interfaceRelNode- Overrides:
getTablein classAbstractRelNode- Returns:
- If this relational expression represents an access to a table, returns that table, otherwise returns null
-
explainTerms
Description copied from class:AbstractRelNodeDescribes the inputs and attributes of this relational expression. Each node should callsuper.explainTerms, then call theRelWriter.input(String, RelNode)andRelWriter.item(String, Object)methods for each input and attribute.- Overrides:
explainTermsin classSpool- Parameters:
pw- Plan writer- Returns:
- Plan writer for fluent-explain pattern
-