public final class LogicalSort extends Sort
Sort not
targeted at any particular engine or calling convention.digest, id, rowType, traitSet| Constructor and Description |
|---|
LogicalSort(RelInput input)
Creates a LogicalSort by parsing serialized output.
|
| 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, getInput, getInputs, getRows, replaceInputcollectVariablesSet, collectVariablesUsed, computeDigest, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRowType, getTable, getTraitSet, getVariablesStopped, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, register, sole, toStringpublic 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–2015 The Apache Software Foundation. All rights reserved.