public class HiveSortLimit extends org.apache.calcite.rel.core.Sort implements HiveRelNode
CONVENTION| Constructor and Description |
|---|
HiveSortLimit(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode child,
org.apache.calcite.rel.RelCollation collation,
org.apache.calcite.rex.RexNode offset,
org.apache.calcite.rex.RexNode fetch) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.rel.RelNode |
accept(org.apache.calcite.rel.RelShuttle shuttle) |
HiveSortLimit |
copy(org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode newInput,
org.apache.calcite.rel.RelCollation newCollation,
org.apache.calcite.rex.RexNode offset,
org.apache.calcite.rex.RexNode fetch) |
static HiveSortLimit |
create(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 HiveSortLimit.
|
org.apache.calcite.rex.RexNode |
getFetchExpr() |
Map<Integer,org.apache.calcite.rex.RexNode> |
getInputRefToCallMap() |
org.apache.calcite.rex.RexNode |
getOffsetExpr() |
boolean |
isRuleCreated() |
void |
setInputRefToCallMap(com.google.common.collect.ImmutableMap<Integer,org.apache.calcite.rex.RexNode> refToCall) |
void |
setRuleCreated(boolean ruleCreated) |
accept, computeSelfCost, copy, copy, explainTerms, getCollation, getSortExps, isEnforcerchildrenAccept, deriveRowType, estimateRowCount, getInput, getInputs, replaceInputcollectVariablesSet, collectVariablesUsed, deepEquals, deepHashCode, equals, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getRelDigest, getRelTypeName, getRowType, getTable, getTraitSet, getVariablesSet, hashCode, isValid, metadata, onRegister, recomputeDigest, register, sole, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, copy, deepEquals, deepHashCode, estimateRowCount, explain, getConvention, getCorrelVariable, getDigest, getExpectedInputRowType, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTable, getVariablesSet, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, replaceInputpublic HiveSortLimit(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode child,
org.apache.calcite.rel.RelCollation collation,
org.apache.calcite.rex.RexNode offset,
org.apache.calcite.rex.RexNode fetch)
public static HiveSortLimit create(org.apache.calcite.rel.RelNode input, org.apache.calcite.rel.RelCollation collation, org.apache.calcite.rex.RexNode offset, org.apache.calcite.rex.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 HiveSortLimit copy(org.apache.calcite.plan.RelTraitSet traitSet, org.apache.calcite.rel.RelNode newInput, org.apache.calcite.rel.RelCollation newCollation, org.apache.calcite.rex.RexNode offset, org.apache.calcite.rex.RexNode fetch)
copy in class org.apache.calcite.rel.core.Sortpublic org.apache.calcite.rex.RexNode getFetchExpr()
public org.apache.calcite.rex.RexNode getOffsetExpr()
public void setInputRefToCallMap(com.google.common.collect.ImmutableMap<Integer,org.apache.calcite.rex.RexNode> refToCall)
public boolean isRuleCreated()
public void setRuleCreated(boolean ruleCreated)
public org.apache.calcite.rel.RelNode accept(org.apache.calcite.rel.RelShuttle shuttle)
accept in interface org.apache.calcite.rel.RelNodeaccept in class org.apache.calcite.rel.AbstractRelNodeCopyright © 2024 The Apache Software Foundation. All rights reserved.