Package org.apache.calcite.rel.rules
Interface AggregateJoinTransposeRule.Config
- All Superinterfaces:
RelRule.Config
- Enclosing class:
AggregateJoinTransposeRule
Rule configuration.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AggregateJoinTransposeRule.Config
static final AggregateJoinTransposeRule.Config
Extended instance that can push down aggregate functions. -
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Whether to push down aggregate functions, default false.default AggregateJoinTransposeRule
toRule()
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.Config
Creates a rule that uses this configuration. Sub-class must override.- Specified by:
toRule
in 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()
.
-