public final class LogicalSort extends Sort
Sort not
targeted at any particular engine or calling convention.RelNode.Contextdigest, id, rowType, traitSet| Modifier | Constructor and Description |
|---|---|
|
LogicalSort(RelInput input)
Creates a LogicalSort by parsing serialized output.
|
private |
LogicalSort(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RelCollation collation,
RexNode offset,
RexNode fetch) |
| Modifier and Type | Method and Description |
|---|---|
RelNode |
accept(RelShuttle shuttle)
Accepts a visit from a shuttle.
|
Sort |
copy(RelTraitSet traitSet,
RelNode newInput,
RelCollation newCollation,
RexNode offset,
RexNode fetch) |
static LogicalSort |
create(RelNode input,
RelCollation collation,
RexNode offset,
RexNode fetch)
Creates a LogicalSort.
|
accept, computeSelfCost, copy, copy, explainTerms, getChildExps, getCollation, getCollationListchildrenAccept, deriveRowType, estimateRowCount, getInput, getInputs, replaceInputcollectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, sole, toStringprivate LogicalSort(RelOptCluster cluster, RelTraitSet traitSet, RelNode input, RelCollation collation, RexNode offset, RexNode fetch)
public LogicalSort(RelInput input)
public static LogicalSort create(RelNode input, RelCollation collation, RexNode offset, RexNode fetch)
input - Input relational expressioncollation - array of sort specificationsoffset - Expression for number of rows to discard before returning
first rowfetch - Expression for number of rows to fetchpublic Sort copy(RelTraitSet traitSet, RelNode newInput, RelCollation newCollation, RexNode offset, RexNode fetch)
public RelNode accept(RelShuttle shuttle)
RelNodeaccept in interface RelNodeaccept in class AbstractRelNodeshuttle - ShuttleCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.