Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.iapi.db
Class OptimizerTrace  view OptimizerTrace download OptimizerTrace.java

java.lang.Object
  extended byorg.apache.derby.iapi.db.OptimizerTrace

public class OptimizerTrace
extends java.lang.Object

This class provides static methods for controlling the optimizer tracing in a Cloudscape database.

Cloudscape reserves the right to change, rename, or remove this interface at any time.


Constructor Summary
OptimizerTrace()
           
 
Method Summary
static java.lang.String getOptimizerTraceOutput()
          Get the optimizer trace output for the last optimized query as a String.
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

OptimizerTrace

public OptimizerTrace()
Method Detail

setOptimizerTrace

public static boolean setOptimizerTrace(boolean onOrOff)
Control whether or not optimizer trace is on.


setOptimizerTraceHtml

public static boolean setOptimizerTraceHtml(boolean onOrOff)
Control whether or not optimizer trace is generated in html.


getOptimizerTraceOutput

public static java.lang.String getOptimizerTraceOutput()
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.


writeOptimizerTraceOutputHtml

public static boolean writeOptimizerTraceOutputHtml(java.lang.String fileName)
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.