|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RelOptListener
RelOptListener defines an interface for listening to events which occur during the optimization process.
Nested Class Summary | |
---|---|
static class |
RelOptListener.RelChosenEvent
|
static class |
RelOptListener.RelDiscardedEvent
|
static class |
RelOptListener.RelEquivalenceEvent
|
static class |
RelOptListener.RelEvent
Event class for abstract event dealing with a relational expression. |
static class |
RelOptListener.RuleAttemptedEvent
|
static class |
RelOptListener.RuleEvent
|
static class |
RelOptListener.RuleProductionEvent
|
Method Summary | |
---|---|
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). |
Method Detail |
---|
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 event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |