public class ReExecuteLostAMQueryPlugin extends Object implements IReExecutionPlugin
| Constructor and Description |
|---|
ReExecuteLostAMQueryPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(Driver driver)
Called when the
Driver is being initialized
The plugin may add hooks/etc to tap into the system. |
boolean |
shouldReExecute(int executionNum)
The query have failed, does this plugin advises to re-execute it again?
|
boolean |
shouldReExecuteAfterCompile(int executionNum,
PlanMapper oldPlanMapper,
PlanMapper newPlanMapper)
The query has failed; and have been recompiled - does this plugin advises to re-execute it again?
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterCompile, afterExecute, beforeCompile, beforeExecute, prepareToReCompile, prepareToReExecute, shouldReCompilepublic void initialize(Driver driver)
IReExecutionPluginDriver is being initialized
The plugin may add hooks/etc to tap into the system.initialize in interface IReExecutionPluginpublic boolean shouldReExecute(int executionNum)
IReExecutionPluginshouldReExecute in interface IReExecutionPluginpublic boolean shouldReExecuteAfterCompile(int executionNum,
PlanMapper oldPlanMapper,
PlanMapper newPlanMapper)
IReExecutionPluginshouldReExecuteAfterCompile in interface IReExecutionPluginCopyright © 2022 The Apache Software Foundation. All rights reserved.