public class IndexLogicalPlanCallContext extends Object implements IndexCallContext
Modifier and Type | Field and Description |
---|---|
org.apache.calcite.plan.RelOptRuleCall |
call |
DrillFilterRel |
filter |
String |
indexHint |
Set<LogicalExpression> |
leftOutPathsInFunctions |
DrillProjectRel |
lowerProject |
IndexableExprMarker |
origMarker |
org.apache.calcite.rex.RexNode |
origPushedCondition |
DrillScanRel |
scan |
DrillSortRel |
sort |
List<LogicalExpression> |
sortExprs |
DrillProjectRel |
upperProject |
Constructor and Description |
---|
IndexLogicalPlanCallContext(org.apache.calcite.plan.RelOptRuleCall call,
DrillProjectRel capProject,
DrillFilterRel filter,
DrillProjectRel project,
DrillScanRel scan) |
IndexLogicalPlanCallContext(org.apache.calcite.plan.RelOptRuleCall call,
DrillSortRel sort,
DrillProjectRel capProject,
DrillFilterRel filter,
DrillProjectRel project,
DrillScanRel scan) |
IndexLogicalPlanCallContext(org.apache.calcite.plan.RelOptRuleCall call,
DrillSortRel sort,
DrillProjectRel project,
DrillScanRel 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 DrillSortRel sort
public final DrillProjectRel upperProject
public final DrillFilterRel filter
public final DrillProjectRel lowerProject
public final DrillScanRel scan
public final String indexHint
public Set<LogicalExpression> leftOutPathsInFunctions
public IndexableExprMarker origMarker
public List<LogicalExpression> sortExprs
public org.apache.calcite.rex.RexNode origPushedCondition
public IndexLogicalPlanCallContext(org.apache.calcite.plan.RelOptRuleCall call, DrillProjectRel capProject, DrillFilterRel filter, DrillProjectRel project, DrillScanRel scan)
public IndexLogicalPlanCallContext(org.apache.calcite.plan.RelOptRuleCall call, DrillSortRel sort, DrillProjectRel capProject, DrillFilterRel filter, DrillProjectRel project, DrillScanRel scan)
public IndexLogicalPlanCallContext(org.apache.calcite.plan.RelOptRuleCall call, DrillSortRel sort, DrillProjectRel project, DrillScanRel scan)
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 void createSortExprs()
createSortExprs
in interface IndexCallContext
public org.apache.calcite.rel.RelNode getExchange()
getExchange
in interface IndexCallContext
public List<DrillDistributionTrait.DistributionField> getDistributionFields()
getDistributionFields
in interface IndexCallContext
Copyright © 1970 The Apache Software Foundation. All rights reserved.