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:
Cloneable
,RelOptNode
,RelNode
Sub-class of
SortExchange
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
ConstructorDescriptionLogicalSortExchange
(RelInput input) Creates a LogicalSortExchange by parsing serialized output. -
Method Summary
Modifier and TypeMethodDescriptioncopy
(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, 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, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.calcite.rel.RelNode
explain, fieldIsNullable, stripped
-
Constructor Details
-
LogicalSortExchange
Creates a LogicalSortExchange by parsing serialized output.
-
-
Method Details
-
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
-