public class EnumerableLimit extends SingleRel implements EnumerableRel
EnumerableRel.Prefer, EnumerableRel.ResultRelNode.Context| Modifier and Type | Field and Description |
|---|---|
@Nullable RexNode |
fetch |
@Nullable RexNode |
offset |
digest, id, rowType, traitSet| Constructor and Description |
|---|
EnumerableLimit(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
@Nullable RexNode offset,
@Nullable RexNode fetch)
Creates an EnumerableLimit.
|
| Modifier and Type | Method and Description |
|---|---|
EnumerableLimit |
copy(RelTraitSet traitSet,
List<RelNode> newInputs)
Creates a copy of this relational expression, perhaps changing traits and
inputs.
|
static EnumerableLimit |
create(RelNode input,
@Nullable RexNode offset,
@Nullable RexNode fetch)
Creates an EnumerableLimit.
|
RelWriter |
explainTerms(RelWriter pw)
Describes the inputs and attributes of this relational expression.
|
EnumerableRel.Result |
implement(EnumerableRelImplementor implementor,
EnumerableRel.Prefer pref)
Creates a plan for this expression according to a calling convention.
|
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, waitderiveTraits, getDeriveMode, passThroughTraitsderive, derive, passThroughaccept, 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, getTraitSetpublic final @Nullable RexNode offset
public final @Nullable RexNode fetch
public EnumerableLimit(RelOptCluster cluster, RelTraitSet traitSet, RelNode input, @Nullable RexNode offset, @Nullable RexNode fetch)
Use create(org.apache.calcite.rel.RelNode, org.apache.calcite.rex.RexNode, org.apache.calcite.rex.RexNode) unless you know what you're doing.
public static EnumerableLimit create(RelNode input, @Nullable RexNode offset, @Nullable RexNode fetch)
public EnumerableLimit copy(RelTraitSet traitSet, List<RelNode> newInputs)
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 setnewInputs - Inputspublic 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 writerpublic EnumerableRel.Result implement(EnumerableRelImplementor implementor, EnumerableRel.Prefer pref)
EnumerableRelimplement in interface EnumerableRelimplementor - Implementorpref - Preferred representation for rows in result expressionCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.