public class IndexPhysicalPlanCallContext extends Object implements IndexCallContext
Modifier and Type | Field and Description |
---|---|
org.apache.calcite.plan.RelOptRuleCall |
call |
ExchangePrel |
exch |
FilterPrel |
filter |
String |
indexHint |
Set<LogicalExpression> |
leftOutPathsInFunctions |
ProjectPrel |
lowerProject |
IndexableExprMarker |
origMarker |
org.apache.calcite.rex.RexNode |
origPushedCondition |
ScanPrel |
scan |
OrderedRel |
sort |
List<LogicalExpression> |
sortExprs |
ProjectPrel |
upperProject |
Constructor and Description |
---|
IndexPhysicalPlanCallContext(org.apache.calcite.plan.RelOptRuleCall call,
OrderedRel sort,
ProjectPrel capProject,
FilterPrel filter,
ProjectPrel project,
ScanPrel scan,
ExchangePrel exch) |
IndexPhysicalPlanCallContext(org.apache.calcite.plan.RelOptRuleCall call,
OrderedRel sort,
ProjectPrel project,
ScanPrel scan,
ExchangePrel exch) |
IndexPhysicalPlanCallContext(org.apache.calcite.plan.RelOptRuleCall call,
ProjectPrel capProject,
FilterPrel filter,
ProjectPrel project,
ScanPrel scan) |
Modifier and Type | Method and Description |
---|---|
void |
createSortExprs() |
org.apache.calcite.plan.RelOptRuleCall |
getCall() |
org.apache.calcite.rel.RelCollation |
getCollation() |
List<org.apache.calcite.rel.RelCollation> |
getCollationList() |
List<DrillDistributionTrait.DistributionField> |
getDistributionFields() |
org.apache.calcite.rel.RelNode |
getExchange() |
org.apache.calcite.rel.RelNode |
getFilter() |
org.apache.calcite.rex.RexNode |
getFilterCondition() |
DbGroupScan |
getGroupScan() |
Set<LogicalExpression> |
getLeftOutPathsInFunctions() |
DrillProjectRelBase |
getLowerProject() |
org.apache.calcite.rex.RexNode |
getOrigCondition() |
IndexableExprMarker |
getOrigMarker() |
DrillScanRelBase |
getScan() |
List<SchemaPath> |
getScanColumns() |
OrderedRel |
getSort() |
List<LogicalExpression> |
getSortExprs() |
DrillProjectRelBase |
getUpperProject() |
boolean |
hasLowerProject() |
boolean |
hasUpperProject() |
void |
setLeftOutPathsInFunctions(Set<LogicalExpression> exprs) |
public final org.apache.calcite.plan.RelOptRuleCall call
public final OrderedRel sort
public final ProjectPrel upperProject
public final FilterPrel filter
public final ProjectPrel lowerProject
public final ScanPrel scan
public final ExchangePrel exch
public final String indexHint
public Set<LogicalExpression> leftOutPathsInFunctions
public IndexableExprMarker origMarker
public List<LogicalExpression> sortExprs
public org.apache.calcite.rex.RexNode origPushedCondition
public IndexPhysicalPlanCallContext(org.apache.calcite.plan.RelOptRuleCall call, ProjectPrel capProject, FilterPrel filter, ProjectPrel project, ScanPrel scan)
public IndexPhysicalPlanCallContext(org.apache.calcite.plan.RelOptRuleCall call, OrderedRel sort, ProjectPrel capProject, FilterPrel filter, ProjectPrel project, ScanPrel scan, ExchangePrel exch)
public IndexPhysicalPlanCallContext(org.apache.calcite.plan.RelOptRuleCall call, OrderedRel sort, ProjectPrel project, ScanPrel scan, ExchangePrel exch)
public DbGroupScan getGroupScan()
getGroupScan
in interface IndexCallContext
public DrillScanRelBase getScan()
getScan
in interface IndexCallContext
public List<org.apache.calcite.rel.RelCollation> getCollationList()
getCollationList
in interface IndexCallContext
public org.apache.calcite.rel.RelCollation getCollation()
getCollation
in interface IndexCallContext
public boolean hasLowerProject()
hasLowerProject
in interface IndexCallContext
public boolean hasUpperProject()
hasUpperProject
in interface IndexCallContext
public org.apache.calcite.plan.RelOptRuleCall getCall()
getCall
in interface IndexCallContext
public Set<LogicalExpression> getLeftOutPathsInFunctions()
getLeftOutPathsInFunctions
in interface IndexCallContext
public org.apache.calcite.rel.RelNode getFilter()
getFilter
in interface IndexCallContext
public IndexableExprMarker getOrigMarker()
getOrigMarker
in interface IndexCallContext
public List<LogicalExpression> getSortExprs()
getSortExprs
in interface IndexCallContext
public DrillProjectRelBase getLowerProject()
getLowerProject
in interface IndexCallContext
public DrillProjectRelBase getUpperProject()
getUpperProject
in interface IndexCallContext
public void setLeftOutPathsInFunctions(Set<LogicalExpression> exprs)
setLeftOutPathsInFunctions
in interface IndexCallContext
public List<SchemaPath> getScanColumns()
getScanColumns
in interface IndexCallContext
public org.apache.calcite.rex.RexNode getFilterCondition()
getFilterCondition
in interface IndexCallContext
public org.apache.calcite.rex.RexNode getOrigCondition()
getOrigCondition
in interface IndexCallContext
public OrderedRel getSort()
getSort
in interface IndexCallContext
public org.apache.calcite.rel.RelNode getExchange()
getExchange
in interface IndexCallContext
public void createSortExprs()
createSortExprs
in interface IndexCallContext
public List<DrillDistributionTrait.DistributionField> getDistributionFields()
getDistributionFields
in interface IndexCallContext
Copyright © 1970 The Apache Software Foundation. All rights reserved.