public abstract class DruidRel<T extends DruidRel>
extends org.apache.calcite.rel.AbstractRelNode
implements org.apache.calcite.interpreter.BindableRel
Constructor and Description |
---|
DruidRel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traitSet,
QueryMaker queryMaker) |
Modifier and Type | Method and Description |
---|---|
abstract T |
asBindable() |
abstract QueryDataSource |
asDataSource()
Convert this DruidRel to a QueryDataSource, for embedding in some other outer query.
|
abstract T |
asDruidConvention() |
org.apache.calcite.linq4j.Enumerable<Object[]> |
bind(org.apache.calcite.DataContext dataContext) |
Class<Object[]> |
getElementType() |
RowSignature |
getOutputRowSignature() |
PlannerContext |
getPlannerContext() |
abstract DruidQueryBuilder |
getQueryBuilder() |
abstract int |
getQueryCount()
Return the number of Druid queries this rel involves, including sub-queries.
|
QueryMaker |
getQueryMaker() |
abstract RowSignature |
getSourceRowSignature() |
org.apache.calcite.interpreter.Node |
implement(org.apache.calcite.interpreter.InterpretableRel.InterpreterImplementor implementor) |
abstract Sequence<Object[]> |
runQuery() |
abstract T |
withQueryBuilder(DruidQueryBuilder newQueryBuilder) |
accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, computeSelfCost, copy, deriveRowType, estimateRowCount, explain, explainTerms, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, replaceInput, sole, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, 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, replaceInput
public DruidRel(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelTraitSet traitSet, QueryMaker queryMaker)
public abstract RowSignature getSourceRowSignature()
public final RowSignature getOutputRowSignature()
public abstract DruidQueryBuilder getQueryBuilder()
public abstract int getQueryCount()
public abstract T withQueryBuilder(DruidQueryBuilder newQueryBuilder)
public abstract QueryDataSource asDataSource()
public abstract T asBindable()
public QueryMaker getQueryMaker()
public PlannerContext getPlannerContext()
public abstract T asDruidConvention()
public Class<Object[]> getElementType()
getElementType
in interface org.apache.calcite.runtime.ArrayBindable
getElementType
in interface org.apache.calcite.runtime.Typed
public org.apache.calcite.interpreter.Node implement(org.apache.calcite.interpreter.InterpretableRel.InterpreterImplementor implementor)
implement
in interface org.apache.calcite.interpreter.InterpretableRel
Copyright © 2011–2017. All rights reserved.