OptionalTool for tracing the Optimizer.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private SQLException | |
| private static Context | |
| public void | loadTool(String... configurationParameters)
Implements org. Turns on optimizer tracing. |
| public void | unloadTool(final String... configurationParameters)
Implements org. Print the optimizer trace and turn off tracing. |
| private SQLException | |
| private SQLException |
| OptimizerTracer | back to summary |
|---|---|
| public OptimizerTracer() 0-arg constructor required by the OptionalTool contract | |
| cantInstantiate | back to summary |
|---|---|
| private SQLException cantInstantiate(String className) | |
| getContext | back to summary |
|---|---|
| private static Context getContext(final String contextID) Must be private so that user code can't call this entry point. | |
| loadTool | back to summary |
|---|---|
| public void loadTool(String... configurationParameters) throws SQLException Implements org. Turns on optimizer tracing. May take optional parameters:
| |
| unloadTool | back to summary |
|---|---|
| public void unloadTool(final String... configurationParameters) throws SQLException Implements org. Print the optimizer trace and turn off tracing. Takes optional parameters:
| |
| wrap | back to summary |
|---|---|
| private SQLException wrap(Throwable t) Wrap an exception in a SQLException | |
| wrap | back to summary |
|---|---|
| private SQLException wrap(String errorMessage) | |