Package org.apache.calcite.rel.rules
Interface AggregateJoinTransposeRule.Config
- All Superinterfaces:
RelRule.Config
- Enclosing class:
AggregateJoinTransposeRule
Rule configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AggregateJoinTransposeRule.Configstatic final AggregateJoinTransposeRule.ConfigExtended instance that can push down aggregate functions. -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanWhether to push down aggregate functions, default false.default AggregateJoinTransposeRuletoRule()Creates a rule that uses this configuration.withAllowFunctions(boolean allowFunctions) SetsisAllowFunctions().withOperandFor(Class<? extends Aggregate> aggregateClass, Class<? extends Join> joinClass, boolean allowFunctions) Defines an operand tree for the given classes, and also setsisAllowFunctions().Methods inherited from interface org.apache.calcite.plan.RelRule.Config
as, description, operandSupplier, relBuilderFactory, withDescription, withOperandSupplier, withRelBuilderFactory
-
Field Details
-
DEFAULT
-
EXTENDED
Extended instance that can push down aggregate functions.
-
-
Method Details
-
toRule
Description copied from interface:RelRule.ConfigCreates a rule that uses this configuration. Sub-class must override.- Specified by:
toRulein interfaceRelRule.Config
-
isAllowFunctions
@Default default boolean isAllowFunctions()Whether to push down aggregate functions, default false. -
withAllowFunctions
SetsisAllowFunctions(). -
withOperandFor
default AggregateJoinTransposeRule.Config withOperandFor(Class<? extends Aggregate> aggregateClass, Class<? extends Join> joinClass, boolean allowFunctions) Defines an operand tree for the given classes, and also setsisAllowFunctions().
-