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.Config
Nested 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.OperandTransform
Nested 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
out
Fields inherited from class org.apache.calcite.plan.RelRule
config
Fields inherited from class org.apache.calcite.plan.RelOptRule
description, operands, relBuilderFactory
-
Constructor Summary
ConstructorDescriptionPluginProjectRule
(org.apache.calcite.plan.RelTrait in, org.apache.calcite.plan.Convention out, PluginImplementor pluginImplementor) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.rel.RelNode
convert
(org.apache.calcite.rel.RelNode rel) protected org.apache.calcite.rel.core.Project
createPluginProject
(org.apache.calcite.rel.core.Project project, DrillRelOptUtil.ProjectPushInfo projectPushInfo) 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) Methods inherited from class org.apache.drill.exec.store.plan.rule.PluginConverterRule
getPluginImplementor, matches
Methods inherited from class org.apache.calcite.rel.convert.ConverterRule
getInTrait, getOutConvention, getOutTrait, getTraitDef, isGuaranteed, onMatch
Methods 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:
convert
in 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)
-