getOptimizerTraceOutput() Get the optimizer trace output for the last optimized query as a String.
public static boolean
setOptimizerTrace(boolean onOrOff) Control whether or not optimizer trace is on.
Parameters: onOrOff - Whether to turn optimizer trace on (true) or off (false).
public static boolean
setOptimizerTraceHtml(boolean onOrOff) Control whether or not optimizer trace is generated in html.
Parameters: onOrOff - Whether or not optimizer trace will be in html (true) or not (false).
public static boolean
writeOptimizerTraceOutputHtml(String fileName) Send the optimizer trace output for the last optimized query to a file with a .html extension.
Method Detail
getOptimizerTraceOutput
public static String getOptimizerTraceOutput()(Code)
Get the optimizer trace output for the last optimized query as a String. If optimizer trace
html is on, then the String will contain the html tags.
The optimizer trace output for the last optimized query as a String.Null will be returned if optimizer trace output is off or not supported or no trace output was found or an exception occurred.
setOptimizerTrace
public static boolean setOptimizerTrace(boolean onOrOff)(Code)
Control whether or not optimizer trace is on.
Parameters: onOrOff - Whether to turn optimizer trace on (true) or off (false). Whether or not the call was successful. (false will be returned when optimizer tracing is not supported.)
setOptimizerTraceHtml
public static boolean setOptimizerTraceHtml(boolean onOrOff)(Code)
Control whether or not optimizer trace is generated in html.
Parameters: onOrOff - Whether or not optimizer trace will be in html (true) or not (false). Whether or not the call was successful. (false will be returned when optimizer tracing is not supported.)
writeOptimizerTraceOutputHtml
public static boolean writeOptimizerTraceOutputHtml(String fileName)(Code)
Send the optimizer trace output for the last optimized query to a file with a .html extension.
If optimizer trace html is on, then the output will contain the html tags.
Parameters: fileName - The name of the file to write to. (.html extension will be added.) Whether or not the request was successful.false mayl be returned for a number of reasons, including if optimizer trace output is off or not supported or no trace output was found or an exception occurred.