Class PluginProjectRule
java.lang.Object
org.apache.calcite.plan.RelOptRule
org.apache.calcite.plan.RelRule<org.apache.calcite.rel.convert.ConverterRule.Config>
org.apache.calcite.rel.convert.ConverterRule
org.apache.drill.exec.store.plan.rule.PluginConverterRule
org.apache.drill.exec.store.plan.rule.PluginProjectRule
The rule that converts provided project operator to plugin-specific implementation.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.rel.convert.ConverterRule
org.apache.calcite.rel.convert.ConverterRule.ConfigNested classes/interfaces inherited from class org.apache.calcite.plan.RelRule
org.apache.calcite.plan.RelRule.Done, org.apache.calcite.plan.RelRule.MatchHandler<R extends org.apache.calcite.plan.RelOptRule>, org.apache.calcite.plan.RelRule.OperandBuilder, org.apache.calcite.plan.RelRule.OperandDetailBuilder<R extends org.apache.calcite.rel.RelNode>, org.apache.calcite.plan.RelRule.OperandTransformNested classes/interfaces inherited from class org.apache.calcite.plan.RelOptRule
org.apache.calcite.plan.RelOptRule.ConverterRelOptRuleOperand -
Field Summary
Fields inherited from class org.apache.calcite.rel.convert.ConverterRule
outFields inherited from class org.apache.calcite.plan.RelRule
configFields inherited from class org.apache.calcite.plan.RelOptRule
description, operands, relBuilderFactory -
Constructor Summary
ConstructorsConstructorDescriptionPluginProjectRule(org.apache.calcite.plan.RelTrait in, org.apache.calcite.plan.Convention out, PluginImplementor pluginImplementor) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.rel.RelNodeconvert(org.apache.calcite.rel.RelNode rel) protected org.apache.calcite.rel.core.ProjectcreatePluginProject(org.apache.calcite.rel.core.Project project, DrillRelOptUtil.ProjectPushInfo projectPushInfo) protected org.apache.calcite.rel.core.ProjectcreateProject(org.apache.calcite.rel.core.Project project, org.apache.calcite.rel.core.Project input, List<org.apache.calcite.rex.RexNode> newProjects) Methods inherited from class org.apache.drill.exec.store.plan.rule.PluginConverterRule
getPluginImplementor, matchesMethods inherited from class org.apache.calcite.rel.convert.ConverterRule
getInTrait, getOutConvention, getOutTrait, getTraitDef, isGuaranteed, onMatchMethods inherited from class org.apache.calcite.plan.RelOptRule
any, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, hashCode, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered
-
Constructor Details
-
PluginProjectRule
public PluginProjectRule(org.apache.calcite.plan.RelTrait in, org.apache.calcite.plan.Convention out, PluginImplementor pluginImplementor)
-
-
Method Details
-
convert
public org.apache.calcite.rel.RelNode convert(org.apache.calcite.rel.RelNode rel) - Specified by:
convertin classorg.apache.calcite.rel.convert.ConverterRule
-
createPluginProject
protected org.apache.calcite.rel.core.Project createPluginProject(org.apache.calcite.rel.core.Project project, DrillRelOptUtil.ProjectPushInfo projectPushInfo) -
createProject
protected org.apache.calcite.rel.core.Project createProject(org.apache.calcite.rel.core.Project project, org.apache.calcite.rel.core.Project input, List<org.apache.calcite.rex.RexNode> newProjects)
-