Package org.apache.calcite.adapter.jdbc
Class JdbcRules.JdbcAggregateRule
java.lang.Object
org.apache.calcite.plan.RelOptRule
org.apache.calcite.plan.RelRule<ConverterRule.Config>
org.apache.calcite.rel.convert.ConverterRule
org.apache.calcite.adapter.jdbc.JdbcRules.JdbcAggregateRule
- Enclosing class:
JdbcRules
Rule to convert a
Aggregate
to a JdbcRules.JdbcAggregate
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.rel.convert.ConverterRule
ConverterRule.Config
Nested classes/interfaces inherited from class org.apache.calcite.plan.RelRule
RelRule.Done, RelRule.MatchHandler<R extends RelOptRule>, RelRule.OperandBuilder, RelRule.OperandDetailBuilder<R extends RelNode>, RelRule.OperandTransform
Nested classes/interfaces inherited from class org.apache.calcite.plan.RelOptRule
RelOptRule.ConverterRelOptRuleOperand
-
Field Summary
Fields inherited from class org.apache.calcite.rel.convert.ConverterRule
out
Fields inherited from class org.apache.calcite.plan.RelOptRule
description, operands, relBuilderFactory
-
Constructor Summary
ModifierConstructorDescriptionprotected
Called from the Config. -
Method Summary
Modifier and TypeMethodDescription@Nullable RelNode
Converts a relational expression to the target trait(s) of this rule.static JdbcRules.JdbcAggregateRule
create
(JdbcConvention out) Creates a JdbcAggregateRule.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, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, hashCode, matches, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered
-
Constructor Details
-
JdbcAggregateRule
Called from the Config.
-
-
Method Details
-
create
Creates a JdbcAggregateRule. -
convert
Description copied from class:ConverterRule
Converts a relational expression to the target trait(s) of this rule.Returns null if conversion is not possible.
- Specified by:
convert
in classConverterRule
-