public class ElasticsearchTableScan extends TableScan implements ElasticsearchRel
Additional operations might be applied, using the "find" method.
ElasticsearchRel.ImplementorRelNode.Context| Modifier and Type | Field and Description |
|---|---|
private ElasticsearchTable |
elasticsearchTable |
private RelDataType |
projectRowType |
digest, id, rowType, traitSetCONVENTION| Modifier | Constructor and Description |
|---|---|
protected |
ElasticsearchTableScan(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table,
ElasticsearchTable elasticsearchTable,
RelDataType projectRowType)
Creates an ElasticsearchTableScan.
|
| Modifier and Type | Method and Description |
|---|---|
RelOptCost |
computeSelfCost(RelOptPlanner planner,
RelMetadataQuery mq) |
RelNode |
copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelDataType |
deriveRowType() |
void |
implement(ElasticsearchRel.Implementor implementor) |
void |
register(RelOptPlanner planner) |
accept, estimateRowCount, explainTerms, getCollationList, getTable, identity, identity, projectaccept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, explain, getChildExps, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, replaceInput, sole, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, estimateRowCount, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, replaceInputgetCluster, getDescription, getDigest, getId, getTraitSetprivate final ElasticsearchTable elasticsearchTable
private final RelDataType projectRowType
protected ElasticsearchTableScan(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, ElasticsearchTable elasticsearchTable, RelDataType projectRowType)
cluster - ClustertraitSet - Trait settable - TableelasticsearchTable - Elasticsearch tableprojectRowType - Fields and types to project; null to project raw rowpublic RelNode copy(RelTraitSet traitSet, List<RelNode> inputs)
copy in interface RelNodecopy in class AbstractRelNodepublic RelDataType deriveRowType()
deriveRowType in class TableScanpublic RelOptCost computeSelfCost(RelOptPlanner planner, RelMetadataQuery mq)
computeSelfCost in interface RelNodecomputeSelfCost in class TableScanpublic void register(RelOptPlanner planner)
register in interface RelNoderegister in class AbstractRelNodepublic void implement(ElasticsearchRel.Implementor implementor)
implement in interface ElasticsearchRelCopyright © 2012–2017 The Apache Software Foundation. All rights reserved.