public class RuleEventLogger extends Object implements RelOptListener
RelOptListener.RelChosenEvent, RelOptListener.RelDiscardedEvent, RelOptListener.RelEquivalenceEvent, RelOptListener.RelEvent, RelOptListener.RuleAttemptedEvent, RelOptListener.RuleEvent, RelOptListener.RuleProductionEvent| Constructor and Description |
|---|
RuleEventLogger() |
| 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).
|
public void relEquivalenceFound(RelOptListener.RelEquivalenceEvent event)
RelOptListenerrelEquivalenceFound in interface RelOptListenerevent - details about the eventpublic void ruleAttempted(RelOptListener.RuleAttemptedEvent event)
RelOptListenerruleAttempted in interface RelOptListenerevent - details about the eventpublic void ruleProductionSucceeded(RelOptListener.RuleProductionEvent event)
RelOptListenerruleProductionSucceeded in interface RelOptListenerevent - details about the eventpublic void relDiscarded(RelOptListener.RelDiscardedEvent event)
RelOptListenerrelDiscarded in interface RelOptListenerevent - details about the eventpublic void relChosen(RelOptListener.RelChosenEvent event)
RelOptListenerrelChosen in interface RelOptListenerevent - details about the eventCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.