public class ElasticsearchFilter extends Filter implements ElasticsearchRel
Filter
relational expression in Elasticsearch.| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
ElasticsearchFilter.Translator
Translates
RexNode expressions into Elasticsearch expression strings. |
ElasticsearchRel.ImplementorRelNode.Contextdigest, id, rowType, traitSetCONVENTION| Constructor and Description |
|---|
ElasticsearchFilter(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
RexNode condition) |
| Modifier and Type | Method and Description |
|---|---|
RelOptCost |
computeSelfCost(RelOptPlanner planner,
RelMetadataQuery mq)
Returns the cost of this plan (not including children).
|
Filter |
copy(RelTraitSet relTraitSet,
RelNode input,
RexNode condition) |
void |
implement(ElasticsearchRel.Implementor implementor) |
accept, copy, estimateFilteredRows, estimateFilteredRows, estimateRowCount, explainTerms, getChildExps, getCondition, isValidchildrenAccept, deriveRowType, getInput, getInputs, replaceInputaccept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, explain, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, 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 ElasticsearchFilter(RelOptCluster cluster, RelTraitSet traitSet, RelNode child, RexNode condition)
public RelOptCost computeSelfCost(RelOptPlanner planner, RelMetadataQuery mq)
RelNodeNOTE jvs 29-Mar-2006: Don't call this method directly. Instead, use
RelMetadataQuery.getNonCumulativeCost(org.apache.calcite.rel.RelNode), which gives plugins a
chance to override the rel's default ideas about cost.
computeSelfCost in interface RelNodecomputeSelfCost in class Filterplanner - Planner for cost calculationmq - Metadata querypublic Filter copy(RelTraitSet relTraitSet, RelNode input, RexNode condition)
public void implement(ElasticsearchRel.Implementor implementor)
implement in interface ElasticsearchRelCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.