public class DrillSortRel extends org.apache.calcite.rel.core.Sort implements DrillRel, OrderedRel
DRILL_LOGICAL| Constructor and Description |
|---|
DrillSortRel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
org.apache.calcite.rel.RelNode input,
org.apache.calcite.rel.RelCollation collation)
Creates a DrillSortRel.
|
DrillSortRel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
org.apache.calcite.rel.RelNode input,
org.apache.calcite.rel.RelCollation collation,
org.apache.calcite.rex.RexNode offset,
org.apache.calcite.rex.RexNode fetch)
Creates a DrillSortRel with offset and fetch.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeDropped()
A method to return if this relational node can be dropped during optimization process.
|
static org.apache.calcite.rel.RelNode |
convert(Order order,
ConversionContext context) |
DrillSortRel |
copy(org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode input,
org.apache.calcite.rel.RelCollation collation,
org.apache.calcite.rex.RexNode offset,
org.apache.calcite.rex.RexNode fetch) |
org.apache.calcite.rex.RexNode |
getFetch()
Fetch value represented in RexNode.
|
org.apache.calcite.rex.RexNode |
getOffset()
Offset value represented in RexNode.
|
LogicalOperator |
implement(DrillImplementor implementor) |
accept, computeSelfCost, copy, copy, explainTerms, getChildExps, getCollation, getCollationListchildrenAccept, deriveRowType, estimateRowCount, getInput, getInputs, replaceInputaccept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, equals, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, getVariablesStopped, hashCode, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, sole, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCollationaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, computeSelfCost, copy, estimateRowCount, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, replaceInputpublic DrillSortRel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
org.apache.calcite.rel.RelNode input,
org.apache.calcite.rel.RelCollation collation)
public DrillSortRel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
org.apache.calcite.rel.RelNode input,
org.apache.calcite.rel.RelCollation collation,
org.apache.calcite.rex.RexNode offset,
org.apache.calcite.rex.RexNode fetch)
public DrillSortRel copy(org.apache.calcite.plan.RelTraitSet traitSet, org.apache.calcite.rel.RelNode input, org.apache.calcite.rel.RelCollation collation, org.apache.calcite.rex.RexNode offset, org.apache.calcite.rex.RexNode fetch)
copy in class org.apache.calcite.rel.core.Sortpublic LogicalOperator implement(DrillImplementor implementor)
public static org.apache.calcite.rel.RelNode convert(Order order, ConversionContext context) throws org.apache.calcite.rel.InvalidRelException
org.apache.calcite.rel.InvalidRelExceptionpublic org.apache.calcite.rex.RexNode getOffset()
OrderedRelgetOffset in interface OrderedRelpublic org.apache.calcite.rex.RexNode getFetch()
OrderedRelgetFetch in interface OrderedRelpublic boolean canBeDropped()
OrderedRelcanBeDropped in interface OrderedRelCopyright © 2021 The Apache Software Foundation. All rights reserved.