OptionalTool
public class OptTraceViewer extends java.lang.Object implements OptionalTool
OptionalTool for viewing the output created when you xml-trace the optimizer.
Constructor | Description |
---|---|
OptTraceViewer() |
0-arg constructor required by the OptionalTool contract
|
Modifier and Type | Method | Description |
---|---|---|
private void |
executeDDL(java.sql.Connection conn,
java.lang.String text) |
|
private java.sql.Connection |
getDerbyConnection() |
|
void |
loadTool(java.lang.String... configurationParameters) |
Takes the following arguments:
|
private java.sql.PreparedStatement |
prepareStatement(java.sql.Connection conn,
java.lang.String text) |
|
void |
unloadTool(java.lang.String... configurationParameters) |
Drop the schema objects which were created for viewing the xml file
containing the optimizer trace.
|
private java.sql.SQLException |
wrap(java.lang.String errorMessage) |
|
private java.sql.SQLException |
wrap(java.lang.Throwable t) |
Wrap an exception in a SQLException
|
public OptTraceViewer()
public void loadTool(java.lang.String... configurationParameters) throws java.sql.SQLException
Takes the following arguments:
...and creates the following schema objects for viewing the xml trace of the optimizer:
loadTool
in interface OptionalTool
java.sql.SQLException
public void unloadTool(java.lang.String... configurationParameters) throws java.sql.SQLException
Drop the schema objects which were created for viewing the xml file containing the optimizer trace.
unloadTool
in interface OptionalTool
java.sql.SQLException
private java.sql.Connection getDerbyConnection() throws java.sql.SQLException
java.sql.SQLException
private void executeDDL(java.sql.Connection conn, java.lang.String text) throws java.sql.SQLException
java.sql.SQLException
private java.sql.PreparedStatement prepareStatement(java.sql.Connection conn, java.lang.String text) throws java.sql.SQLException
java.sql.SQLException
private java.sql.SQLException wrap(java.lang.Throwable t)
private java.sql.SQLException wrap(java.lang.String errorMessage)
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.