Class PluginConverterRule
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
- Direct Known Subclasses:
PluginAggregateRule
,PluginFilterRule
,PluginJoinRule
,PluginLimitRule
,PluginProjectRule
,PluginSortRule
,PluginUnionRule
public abstract class PluginConverterRule
extends org.apache.calcite.rel.convert.ConverterRule
Abstract base class for a rule that converts provided 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
ModifierConstructorDescriptionprotected
PluginConverterRule
(Class<? extends org.apache.calcite.rel.RelNode> clazz, org.apache.calcite.plan.RelTrait in, org.apache.calcite.plan.Convention out, String description, PluginImplementor pluginImplementor) -
Method Summary
Methods inherited from class org.apache.calcite.rel.convert.ConverterRule
convert, 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
-
PluginConverterRule
protected PluginConverterRule(Class<? extends org.apache.calcite.rel.RelNode> clazz, org.apache.calcite.plan.RelTrait in, org.apache.calcite.plan.Convention out, String description, PluginImplementor pluginImplementor)
-
-
Method Details
-
getPluginImplementor
-
matches
public boolean matches(org.apache.calcite.plan.RelOptRuleCall call) - Overrides:
matches
in classorg.apache.calcite.plan.RelOptRule
-