public class DrillSortRel extends DrillSortRelBase implements DrillRel
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) |
LogicalOperator |
implement(DrillImplementor implementor) |
getFetch, getOffset
accept, computeSelfCost, copy, copy, explainTerms, getChildExps, getCollation, getCollationList
childrenAccept, deriveRowType, estimateRowCount, getInput, getInputs, replaceInput
accept, 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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
accept, 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, replaceInput
getCluster, getDescription, getDigest, getId, getTraitSet
getCollation
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)
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.Sort
public 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.InvalidRelException
public boolean canBeDropped()
OrderedRel
canBeDropped
in interface OrderedRel
Copyright © 1970 The Apache Software Foundation. All rights reserved.