@InterfaceAudience.Private @InterfaceStability.Unstable public interface IReExecutionPlugin
Modifier and Type | Method and Description |
---|---|
void |
afterExecute(PlanMapper planMapper,
boolean successfull) |
void |
beforeExecute(int executionIndex,
boolean explainReOptimization)
Called before executing the query.
|
void |
initialize(Driver driver)
Called when the
Driver is being initialized
The plugin may add hooks/etc to tap into the system. |
void |
prepareToReExecute()
The plugin should prepare for the re-compilaton of the query.
|
boolean |
shouldReExecute(int executionNum)
The query have failed, does this plugin advises to re-execute it again?
|
boolean |
shouldReExecute(int executionNum,
PlanMapper oldPlanMapper,
PlanMapper newPlanMapper)
The query have failed; and have been recompiled - does this plugin advises to re-execute it again?
|
void initialize(Driver driver)
Driver
is being initialized
The plugin may add hooks/etc to tap into the system.void beforeExecute(int executionIndex, boolean explainReOptimization)
boolean shouldReExecute(int executionNum)
void prepareToReExecute()
boolean shouldReExecute(int executionNum, PlanMapper oldPlanMapper, PlanMapper newPlanMapper)
void afterExecute(PlanMapper planMapper, boolean successfull)
Copyright © 2022 The Apache Software Foundation. All rights reserved.