public abstract class PruneScanRule extends StoragePluginOptimizerRule
Constructor and Description |
---|
PruneScanRule(org.apache.calcite.plan.RelOptRuleOperand operand,
String id,
OptimizerRulesContext optimizerContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
doOnMatch(org.apache.calcite.plan.RelOptRuleCall call,
org.apache.calcite.rel.core.Filter filterRel,
org.apache.calcite.rel.core.Project projectRel,
org.apache.calcite.rel.core.TableScan scanRel) |
static org.apache.calcite.plan.RelOptRule |
getConvertAggScanToValuesRule(OptimizerRulesContext optimizerRulesContext) |
static org.apache.calcite.plan.RelOptRule |
getDirFilterOnProject(OptimizerRulesContext optimizerRulesContext) |
static org.apache.calcite.plan.RelOptRule |
getDirFilterOnScan(OptimizerRulesContext optimizerRulesContext) |
protected OptimizerRulesContext |
getOptimizerRulesContext() |
abstract PartitionDescriptor |
getPartitionDescriptor(PlannerSettings settings,
org.apache.calcite.rel.core.TableScan scanRel) |
protected LogicalExpression |
materializePruneExpr(org.apache.calcite.rex.RexNode pruneCondition,
PlannerSettings settings,
org.apache.calcite.rel.RelNode scanRel,
VectorContainer container) |
any, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, matches, none, onMatch, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered
public PruneScanRule(org.apache.calcite.plan.RelOptRuleOperand operand, String id, OptimizerRulesContext optimizerContext)
public static org.apache.calcite.plan.RelOptRule getDirFilterOnProject(OptimizerRulesContext optimizerRulesContext)
public static org.apache.calcite.plan.RelOptRule getDirFilterOnScan(OptimizerRulesContext optimizerRulesContext)
public static org.apache.calcite.plan.RelOptRule getConvertAggScanToValuesRule(OptimizerRulesContext optimizerRulesContext)
protected void doOnMatch(org.apache.calcite.plan.RelOptRuleCall call, org.apache.calcite.rel.core.Filter filterRel, org.apache.calcite.rel.core.Project projectRel, org.apache.calcite.rel.core.TableScan scanRel)
protected LogicalExpression materializePruneExpr(org.apache.calcite.rex.RexNode pruneCondition, PlannerSettings settings, org.apache.calcite.rel.RelNode scanRel, VectorContainer container)
protected OptimizerRulesContext getOptimizerRulesContext()
public abstract PartitionDescriptor getPartitionDescriptor(PlannerSettings settings, org.apache.calcite.rel.core.TableScan scanRel)
Copyright © 1970 The Apache Software Foundation. All rights reserved.