public class PartialDruidQuery extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PartialDruidQuery.Stage |
| Modifier and Type | Method and Description |
|---|---|
DruidQuery |
build(DataSource dataSource,
RowSignature sourceRowSignature,
PlannerContext plannerContext,
org.apache.calcite.rex.RexBuilder rexBuilder,
boolean finalizeAggregations) |
boolean |
canAccept(PartialDruidQuery.Stage stage) |
static PartialDruidQuery |
create(org.apache.calcite.rel.RelNode scanRel) |
boolean |
equals(Object o) |
org.apache.calcite.rel.core.Aggregate |
getAggregate() |
org.apache.calcite.rel.core.Project |
getAggregateProject() |
org.apache.calcite.rel.core.Filter |
getHavingFilter() |
org.apache.calcite.plan.RelTrait[] |
getRelTraits() |
org.apache.calcite.rel.type.RelDataType |
getRowType() |
org.apache.calcite.rel.RelNode |
getScan() |
org.apache.calcite.rel.core.Project |
getSelectProject() |
org.apache.calcite.rel.core.Sort |
getSort() |
org.apache.calcite.rel.core.Project |
getSortProject() |
org.apache.calcite.rel.core.Filter |
getWhereFilter() |
int |
hashCode() |
org.apache.calcite.rel.RelNode |
leafRel()
Returns the rel at the end of the query.
|
PartialDruidQuery.Stage |
stage()
Returns the stage corresponding to the rel at the end of the query.
|
String |
toString() |
PartialDruidQuery |
withAggregate(org.apache.calcite.rel.core.Aggregate newAggregate) |
PartialDruidQuery |
withAggregateProject(org.apache.calcite.rel.core.Project newAggregateProject) |
PartialDruidQuery |
withHavingFilter(org.apache.calcite.rel.core.Filter newHavingFilter) |
PartialDruidQuery |
withSelectProject(org.apache.calcite.rel.core.Project newSelectProject) |
PartialDruidQuery |
withSort(org.apache.calcite.rel.core.Sort newSort) |
PartialDruidQuery |
withSortProject(org.apache.calcite.rel.core.Project newSortProject) |
PartialDruidQuery |
withWhereFilter(org.apache.calcite.rel.core.Filter newWhereFilter) |
public static PartialDruidQuery create(org.apache.calcite.rel.RelNode scanRel)
public org.apache.calcite.rel.RelNode getScan()
public org.apache.calcite.rel.core.Filter getWhereFilter()
public org.apache.calcite.rel.core.Project getSelectProject()
public org.apache.calcite.rel.core.Aggregate getAggregate()
public org.apache.calcite.rel.core.Filter getHavingFilter()
public org.apache.calcite.rel.core.Project getAggregateProject()
public org.apache.calcite.rel.core.Sort getSort()
public org.apache.calcite.rel.core.Project getSortProject()
public PartialDruidQuery withWhereFilter(org.apache.calcite.rel.core.Filter newWhereFilter)
public PartialDruidQuery withSelectProject(org.apache.calcite.rel.core.Project newSelectProject)
public PartialDruidQuery withAggregate(org.apache.calcite.rel.core.Aggregate newAggregate)
public PartialDruidQuery withHavingFilter(org.apache.calcite.rel.core.Filter newHavingFilter)
public PartialDruidQuery withAggregateProject(org.apache.calcite.rel.core.Project newAggregateProject)
public PartialDruidQuery withSort(org.apache.calcite.rel.core.Sort newSort)
public PartialDruidQuery withSortProject(org.apache.calcite.rel.core.Project newSortProject)
public org.apache.calcite.rel.type.RelDataType getRowType()
public org.apache.calcite.plan.RelTrait[] getRelTraits()
public DruidQuery build(DataSource dataSource, RowSignature sourceRowSignature, PlannerContext plannerContext, org.apache.calcite.rex.RexBuilder rexBuilder, boolean finalizeAggregations)
public boolean canAccept(PartialDruidQuery.Stage stage)
public PartialDruidQuery.Stage stage()
leafRel().public org.apache.calcite.rel.RelNode leafRel()
stage().Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.