public interface VolcanoPlannerPhaseRuleMappingInitializer
VolcanoPlannerPhase
s to sets of rule
descriptions.
Note: Rule descriptions are obtained via
RelOptRule.toString()
. By default they are
the class's simple name (e.g. class name sans package), unless the class is
an inner class, in which case the default is the inner class's simple
name. Some rules explicitly provide alternate descriptions by calling the
RelOptRule.RelOptRule(org.apache.calcite.plan.RelOptRuleOperand, String)
constructor.
Modifier and Type | Method and Description |
---|---|
void |
initialize(java.util.Map<VolcanoPlannerPhase,java.util.Set<java.lang.String>> phaseRuleMap)
Initializes a
VolcanoPlannerPhase -to-rule map. |
void initialize(java.util.Map<VolcanoPlannerPhase,java.util.Set<java.lang.String>> phaseRuleMap)
VolcanoPlannerPhase
-to-rule map. Rules are
specified by description (see above). When this method is called, the map
will already be pre-initialized with empty sets for each
VolcanoPlannerPhase. Implementations must not return having added or
removed keys from the map, although it is safe to temporarily add or
remove keys.phaseRuleMap
- a VolcanoPlannerPhase
-to-rule mapCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.