Class DbScanToIndexScanPrule
java.lang.Object
org.apache.calcite.plan.RelOptRule
org.apache.drill.exec.planner.physical.Prule
org.apache.drill.exec.planner.index.rules.DbScanToIndexScanPrule
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.plan.RelOptRule
org.apache.calcite.plan.RelOptRule.ConverterRelOptRuleOperand
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.apache.calcite.plan.RelOptRule
static final org.apache.calcite.plan.RelOptRule
final MatchFunction
static final org.apache.calcite.plan.RelOptRule
static final org.apache.calcite.plan.RelOptRule
static final org.apache.calcite.plan.RelOptRule
static final org.apache.calcite.plan.RelOptRule
static final org.apache.calcite.plan.RelOptRule
Fields inherited from class org.apache.calcite.plan.RelOptRule
description, operands, relBuilderFactory
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doOnMatch
(IndexLogicalPlanCallContext indexContext) getIndexCollection
(PlannerSettings settings, DrillScanRel scan) Return the index collection relevant for the underlying data sourceboolean
matches
(org.apache.calcite.plan.RelOptRuleCall call) void
onMatch
(org.apache.calcite.plan.RelOptRuleCall call) Methods inherited from class org.apache.drill.exec.planner.physical.Prule
convert, isSingleMode
Methods inherited from class org.apache.calcite.plan.RelOptRule
any, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered
-
Field Details
-
match
-
REL_FILTER_SCAN
public static final org.apache.calcite.plan.RelOptRule REL_FILTER_SCAN -
PROJECT_FILTER_PROJECT_SCAN
public static final org.apache.calcite.plan.RelOptRule PROJECT_FILTER_PROJECT_SCAN -
SORT_FILTER_PROJECT_SCAN
public static final org.apache.calcite.plan.RelOptRule SORT_FILTER_PROJECT_SCAN -
SORT_PROJECT_FILTER_PROJECT_SCAN
public static final org.apache.calcite.plan.RelOptRule SORT_PROJECT_FILTER_PROJECT_SCAN -
SORT_PROJECT_FILTER_SCAN
public static final org.apache.calcite.plan.RelOptRule SORT_PROJECT_FILTER_SCAN -
FILTER_SCAN
public static final org.apache.calcite.plan.RelOptRule FILTER_SCAN -
FILTER_PROJECT_SCAN
public static final org.apache.calcite.plan.RelOptRule FILTER_PROJECT_SCAN
-
-
Method Details
-
matches
public boolean matches(org.apache.calcite.plan.RelOptRuleCall call) - Overrides:
matches
in classorg.apache.calcite.plan.RelOptRule
-
onMatch
public void onMatch(org.apache.calcite.plan.RelOptRuleCall call) - Specified by:
onMatch
in classorg.apache.calcite.plan.RelOptRule
-
doOnMatch
-
getIndexCollection
Return the index collection relevant for the underlying data source- Parameters:
settings
-scan
-
-