Package org.apache.calcite.rel.logical
Class LogicalSortExchange
- java.lang.Object
-
- org.apache.calcite.rel.AbstractRelNode
-
- org.apache.calcite.rel.SingleRel
-
- org.apache.calcite.rel.core.Exchange
-
- org.apache.calcite.rel.core.SortExchange
-
- org.apache.calcite.rel.logical.LogicalSortExchange
-
- All Implemented Interfaces:
java.lang.Cloneable
,RelOptNode
,RelNode
public class LogicalSortExchange extends SortExchange
Sub-class ofSortExchange
not targeted at any particular engine or calling convention.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.calcite.rel.RelNode
RelNode.Context
-
-
Field Summary
-
Fields inherited from class org.apache.calcite.rel.core.SortExchange
collation
-
Fields inherited from class org.apache.calcite.rel.core.Exchange
distribution
-
Fields inherited from class org.apache.calcite.rel.AbstractRelNode
digest, id, rowType, traitSet
-
-
Constructor Summary
Constructors Modifier Constructor Description private
LogicalSortExchange(RelOptCluster cluster, RelTraitSet traitSet, RelNode input, RelDistribution distribution, RelCollation collation)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SortExchange
copy(RelTraitSet traitSet, RelNode newInput, RelDistribution newDistribution, RelCollation newCollation)
static LogicalSortExchange
create(RelNode input, RelDistribution distribution, RelCollation collation)
Creates a LogicalSortExchange.-
Methods inherited from class org.apache.calcite.rel.core.SortExchange
copy, explainTerms, getCollation
-
Methods inherited from class org.apache.calcite.rel.core.Exchange
computeSelfCost, copy, getDistribution
-
Methods inherited from class org.apache.calcite.rel.SingleRel
childrenAccept, deriveRowType, estimateRowCount, getInput, getInputs, replaceInput
-
Methods inherited from class org.apache.calcite.rel.AbstractRelNode
accept, accept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, explain, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, sole, toString
-
-
-
-
Constructor Detail
-
LogicalSortExchange
private LogicalSortExchange(RelOptCluster cluster, RelTraitSet traitSet, RelNode input, RelDistribution distribution, RelCollation collation)
-
-
Method Detail
-
create
public static LogicalSortExchange create(RelNode input, RelDistribution distribution, RelCollation collation)
Creates a LogicalSortExchange.- Parameters:
input
- Input relational expressiondistribution
- Distribution specificationcollation
- array of sort specifications
-
copy
public SortExchange copy(RelTraitSet traitSet, RelNode newInput, RelDistribution newDistribution, RelCollation newCollation)
- Specified by:
copy
in classSortExchange
-
-