public class ReCompileWithoutCBOPlugin extends Object implements IReExecutionPlugin
Constructor and Description |
---|
ReCompileWithoutCBOPlugin() |
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. |
void |
prepareToReCompile()
The plugin should prepare for the recompilation of the query
|
boolean |
shouldReCompile(int executionNum)
The query has failed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterCompile, afterExecute, beforeCompile, beforeExecute, prepareToReExecute, shouldReExecute, shouldReExecuteAfterCompile
public void initialize(Driver driver)
IReExecutionPlugin
Driver
is being initialized
The plugin may add hooks/etc to tap into the system.initialize
in interface IReExecutionPlugin
public void prepareToReCompile()
IReExecutionPlugin
prepareToReCompile
in interface IReExecutionPlugin
public boolean shouldReCompile(int executionNum)
IReExecutionPlugin
shouldReCompile
in interface IReExecutionPlugin
executionNum
- Number of the previous compilationsCopyright © 2023 The Apache Software Foundation. All rights reserved.