|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.iapi.db.OptimizerTrace
public class OptimizerTrace
This class provides static methods for controlling the optimizer tracing in a Derby database.
| Constructor Summary | |
|---|---|
OptimizerTrace()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getOptimizerTraceOutput()
Get the optimizer trace output for the last optimized query as a String. |
static void |
nullifyTrace()
Null out the optimizer trace. |
static boolean |
setOptimizerTrace(boolean onOrOff)
Control whether or not optimizer trace is on. |
static boolean |
setOptimizerTraceHtml(boolean onOrOff)
Control whether or not optimizer trace is generated in html. |
static boolean |
writeOptimizerTraceOutputHtml(java.lang.String fileName)
Send the optimizer trace output for the last optimized query to a file with a .html extension. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OptimizerTrace()
| Method Detail |
|---|
public static boolean setOptimizerTrace(boolean onOrOff)
onOrOff - Whether to turn optimizer trace on (true) or off (false).
public static void nullifyTrace()
throws java.sql.SQLException
java.sql.SQLExceptionpublic static boolean setOptimizerTraceHtml(boolean onOrOff)
onOrOff - Whether or not optimizer trace will be in html (true) or not (false).
public static java.lang.String getOptimizerTraceOutput()
public static boolean writeOptimizerTraceOutputHtml(java.lang.String fileName)
fileName - The name of the file to write to. (.html extension will be added.)
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||