public abstract class Spool extends SingleRel
NOTE: The current API is experimental and subject to change without notice.
| Modifier and Type | Class and Description |
|---|---|
static class |
Spool.Type
Enumeration representing spool read / write type.
|
RelNode.Context| Modifier and Type | Field and Description |
|---|---|
Spool.Type |
readType
How the spool consumes elements from its input.
|
Spool.Type |
writeType
How the spool forwards elements to consumers.
|
digest, id, rowType, traitSet| Modifier | Constructor and Description |
|---|---|
protected |
Spool(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
Spool.Type readType,
Spool.Type writeType)
Creates a Spool.
|
| 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.
|
protected abstract Spool |
copy(RelTraitSet traitSet,
RelNode input,
Spool.Type readType,
Spool.Type writeType) |
RelWriter |
explainTerms(RelWriter pw)
Describes the inputs and attributes of this relational expression.
|
childrenAccept, deriveRowType, estimateRowCount, getInput, getInputs, replaceInputaccept, accept, collectVariablesSet, collectVariablesUsed, computeSelfCost, deepEquals, deepHashCode, equals, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getRelDigest, getRelTypeName, getRowType, getTable, getTraitSet, getVariablesSet, hashCode, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, sole, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitexplain, fieldIsNullablepublic final Spool.Type readType
public final Spool.Type writeType
protected Spool(RelOptCluster cluster, RelTraitSet traitSet, RelNode input, Spool.Type readType, Spool.Type writeType)
public final 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 - Inputsprotected abstract Spool copy(RelTraitSet traitSet, RelNode input, Spool.Type readType, Spool.Type writeType)
public RelWriter explainTerms(RelWriter pw)
AbstractRelNodesuper.explainTerms, then call the
RelWriter.input(String, RelNode)
and
RelWriter.item(String, Object)
methods for each input and attribute.explainTerms in class SingleRelpw - Plan writerCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.