public class ElasticsearchSort extends Sort implements ElasticsearchRel
Sort
relational expression in Elasticsearch.ElasticsearchRel.ImplementorRelNode.Contextdigest, id, rowType, traitSetCONVENTION| Constructor and Description |
|---|
ElasticsearchSort(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
RelCollation collation,
RexNode offset,
RexNode fetch) |
| Modifier and Type | Method and Description |
|---|---|
RelOptCost |
computeSelfCost(RelOptPlanner planner,
RelMetadataQuery mq) |
Sort |
copy(RelTraitSet traitSet,
RelNode relNode,
RelCollation relCollation,
RexNode offset,
RexNode fetch) |
private String |
direction(RelFieldCollation fieldCollation) |
void |
implement(ElasticsearchRel.Implementor implementor) |
accept, copy, copy, explainTerms, getChildExps, getCollation, getCollationListchildrenAccept, deriveRowType, estimateRowCount, getInput, getInputs, replaceInputaccept, collectVariablesSet, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, copy, estimateRowCount, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, replaceInputgetCluster, getDescription, getDigest, getId, getTraitSetpublic ElasticsearchSort(RelOptCluster cluster, RelTraitSet traitSet, RelNode child, RelCollation collation, RexNode offset, RexNode fetch)
public RelOptCost computeSelfCost(RelOptPlanner planner, RelMetadataQuery mq)
computeSelfCost in interface RelNodecomputeSelfCost in class Sortpublic Sort copy(RelTraitSet traitSet, RelNode relNode, RelCollation relCollation, RexNode offset, RexNode fetch)
public void implement(ElasticsearchRel.Implementor implementor)
implement in interface ElasticsearchRelprivate String direction(RelFieldCollation fieldCollation)
Copyright © 2012–2017 The Apache Software Foundation. All rights reserved.