public class DbScanToIndexScanPrule extends Prule
Modifier and Type | Field and Description |
---|---|
static org.apache.calcite.plan.RelOptRule |
FILTER_PROJECT_SCAN |
static org.apache.calcite.plan.RelOptRule |
FILTER_SCAN |
MatchFunction |
match |
static org.apache.calcite.plan.RelOptRule |
PROJECT_FILTER_PROJECT_SCAN |
static org.apache.calcite.plan.RelOptRule |
REL_FILTER_SCAN |
static org.apache.calcite.plan.RelOptRule |
SORT_FILTER_PROJECT_SCAN |
static org.apache.calcite.plan.RelOptRule |
SORT_PROJECT_FILTER_PROJECT_SCAN |
static org.apache.calcite.plan.RelOptRule |
SORT_PROJECT_FILTER_SCAN |
Modifier and Type | Method and Description |
---|---|
protected void |
doOnMatch(IndexLogicalPlanCallContext indexContext) |
IndexCollection |
getIndexCollection(PlannerSettings settings,
DrillScanRel scan)
Return the index collection relevant for the underlying data source
|
boolean |
matches(org.apache.calcite.plan.RelOptRuleCall call) |
void |
onMatch(org.apache.calcite.plan.RelOptRuleCall call) |
convert, isSingleMode
any, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered
public final MatchFunction match
public static final org.apache.calcite.plan.RelOptRule REL_FILTER_SCAN
public static final org.apache.calcite.plan.RelOptRule PROJECT_FILTER_PROJECT_SCAN
public static final org.apache.calcite.plan.RelOptRule SORT_FILTER_PROJECT_SCAN
public static final org.apache.calcite.plan.RelOptRule SORT_PROJECT_FILTER_PROJECT_SCAN
public static final org.apache.calcite.plan.RelOptRule SORT_PROJECT_FILTER_SCAN
public static final org.apache.calcite.plan.RelOptRule FILTER_SCAN
public static final org.apache.calcite.plan.RelOptRule FILTER_PROJECT_SCAN
public boolean matches(org.apache.calcite.plan.RelOptRuleCall call)
matches
in class org.apache.calcite.plan.RelOptRule
public void onMatch(org.apache.calcite.plan.RelOptRuleCall call)
onMatch
in class org.apache.calcite.plan.RelOptRule
protected void doOnMatch(IndexLogicalPlanCallContext indexContext)
public IndexCollection getIndexCollection(PlannerSettings settings, DrillScanRel scan)
settings
- scan
- Copyright © 1970 The Apache Software Foundation. All rights reserved.