public class EnumerableLimit extends SingleRel implements EnumerableRel
EnumerableRel.Prefer, EnumerableRel.Resultdigest, id, rowType, traitSetFILTER_FACTORY, PROJECT_FACTORY| Constructor and Description |
|---|
EnumerableLimit(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RexNode offset,
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,
RexNode offset,
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, getInput, getInputs, getRows, replaceInputaccept, accept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, explain, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRowType, getTable, getTraitSet, getVariablesStopped, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, register, sole, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesStopped, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, register, replaceInputgetCluster, getDescription, getDigest, getId, getTraitSetpublic EnumerableLimit(RelOptCluster cluster, RelTraitSet traitSet, RelNode input, RexNode offset, 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, RexNode offset, 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
RelWriterImpl.input(String, RelNode)
and
RelWriterImpl.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–2015 The Apache Software Foundation. All rights reserved.