public class DruidNestedGroupBy extends DruidRel<DruidNestedGroupBy>
| Modifier and Type | Method and Description |
|---|---|
DruidNestedGroupBy |
asBindable() |
QueryDataSource |
asDataSource()
Convert this DruidRel to a QueryDataSource, for embedding in some other outer query.
|
DruidNestedGroupBy |
asDruidConvention() |
org.apache.calcite.plan.RelOptCost |
computeSelfCost(org.apache.calcite.plan.RelOptPlanner planner,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
protected org.apache.calcite.rel.type.RelDataType |
deriveRowType() |
org.apache.calcite.rel.RelWriter |
explainTerms(org.apache.calcite.rel.RelWriter pw) |
static DruidNestedGroupBy |
from(DruidRel sourceRel,
DimFilter filter,
Grouping grouping,
org.apache.calcite.rel.type.RelDataType rowType,
List<String> rowOrder) |
DruidQueryBuilder |
getQueryBuilder() |
int |
getQueryCount()
Return the number of Druid queries this rel involves, including sub-queries.
|
RowSignature |
getSourceRowSignature() |
Sequence<Object[]> |
runQuery() |
DruidNestedGroupBy |
withQueryBuilder(DruidQueryBuilder newQueryBuilder) |
bind, getElementType, getOutputRowSignature, getPlannerContext, getQueryMaker, implementaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, copy, estimateRowCount, explain, 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, 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, replaceInputpublic static DruidNestedGroupBy from(DruidRel sourceRel, DimFilter filter, Grouping grouping, org.apache.calcite.rel.type.RelDataType rowType, List<String> rowOrder)
public RowSignature getSourceRowSignature()
getSourceRowSignature in class DruidRel<DruidNestedGroupBy>public DruidQueryBuilder getQueryBuilder()
getQueryBuilder in class DruidRel<DruidNestedGroupBy>public Sequence<Object[]> runQuery()
runQuery in class DruidRel<DruidNestedGroupBy>public DruidNestedGroupBy withQueryBuilder(DruidQueryBuilder newQueryBuilder)
withQueryBuilder in class DruidRel<DruidNestedGroupBy>public int getQueryCount()
DruidRelgetQueryCount in class DruidRel<DruidNestedGroupBy>public QueryDataSource asDataSource()
DruidRelasDataSource in class DruidRel<DruidNestedGroupBy>public DruidNestedGroupBy asBindable()
asBindable in class DruidRel<DruidNestedGroupBy>public DruidNestedGroupBy asDruidConvention()
asDruidConvention in class DruidRel<DruidNestedGroupBy>public org.apache.calcite.rel.RelWriter explainTerms(org.apache.calcite.rel.RelWriter pw)
explainTerms in class org.apache.calcite.rel.AbstractRelNodeprotected org.apache.calcite.rel.type.RelDataType deriveRowType()
deriveRowType in class org.apache.calcite.rel.AbstractRelNodepublic org.apache.calcite.plan.RelOptCost computeSelfCost(org.apache.calcite.plan.RelOptPlanner planner,
org.apache.calcite.rel.metadata.RelMetadataQuery mq)
computeSelfCost in interface org.apache.calcite.rel.RelNodecomputeSelfCost in class org.apache.calcite.rel.AbstractRelNodeCopyright © 2011–2017. All rights reserved.