public interface RelOptListener
extends java.util.EventListener
Modifier and Type | Interface and Description |
---|---|
static class |
RelOptListener.RelChosenEvent
Event indicating that a relational expression has been chosen.
|
static class |
RelOptListener.RelDiscardedEvent
Event indicating that a relational expression has been discarded.
|
static class |
RelOptListener.RelEquivalenceEvent
Event indicating that a relational expression has been found to
be equivalent to an equivalence class.
|
static class |
RelOptListener.RelEvent
Event class for abstract event dealing with a relational expression.
|
static class |
RelOptListener.RuleAttemptedEvent
Event indicating that a planner rule has been attempted.
|
static class |
RelOptListener.RuleEvent
Event indicating that a planner rule has fired.
|
static class |
RelOptListener.RuleProductionEvent
Event indicating that a planner rule has produced a result.
|
Modifier and Type | Method and Description |
---|---|
void |
relChosen(RelOptListener.RelChosenEvent event)
Notifies this listener that a relational expression has been chosen as
part of the final implementation of the query plan.
|
void |
relDiscarded(RelOptListener.RelDiscardedEvent event)
Notifies this listener that a relational expression is no longer of
interest to the planner.
|
void |
relEquivalenceFound(RelOptListener.RelEquivalenceEvent event)
Notifies this listener that a relational expression has been registered
with a particular equivalence class after an equivalence has been either
detected or asserted.
|
void |
ruleAttempted(RelOptListener.RuleAttemptedEvent event)
Notifies this listener that an optimizer rule is being applied to a
particular relational expression.
|
void |
ruleProductionSucceeded(RelOptListener.RuleProductionEvent event)
Notifies this listener that an optimizer rule has been successfully
applied to a particular relational expression, resulting in a new
equivalent expression (relEquivalenceFound will also be called unless the
new expression is identical to an existing one).
|
void relEquivalenceFound(RelOptListener.RelEquivalenceEvent event)
event
- details about the eventvoid ruleAttempted(RelOptListener.RuleAttemptedEvent event)
event
- details about the eventvoid ruleProductionSucceeded(RelOptListener.RuleProductionEvent event)
event
- details about the eventvoid relDiscarded(RelOptListener.RelDiscardedEvent event)
event
- details about the eventvoid relChosen(RelOptListener.RelChosenEvent event)
event
- details about the eventCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.