Package org.apache.calcite.rel.rules
Annotation Type RuleConfig
The
@RuleConfig annotation is exclusively used for testing purposes
to identify configuration names when a rule contains multiple Configs.
Usage Example:
@RuleConfig(value = "FILTER")
public static final ExpandDisjunctionForJoinInputsRule
EXPAND_FILTER_DISJUNCTION_LOCAL =
ExpandDisjunctionForJoinInputsRule.Config.FILTER.toRule();
@RuleConfig(value = "JOIN")
public static final ExpandDisjunctionForJoinInputsRule
EXPAND_JOIN_DISJUNCTION_LOCAL =
ExpandDisjunctionForJoinInputsRule.Config.JOIN.toRule();
Key Characteristics:
- Test-scoped annotation (not used in production code)
- Required when a rule class has multiple Configs
- Annotation value must match the static variable that holds the Config
-
Required Element Summary
Required Elements
-
Element Details
-
value
String value
-