|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.util.Tool
org.h2.tools.ConvertTraceFile
public class ConvertTraceFile
Converts a .trace.db file to a SQL script and Java source code.
SQL statement statistics are listed as well.
Field Summary |
---|
Fields inherited from class org.h2.util.Tool |
---|
out |
Constructor Summary | |
---|---|
ConvertTraceFile()
|
Method Summary | |
---|---|
static void |
main(java.lang.String... args)
Options are case sensitive. |
void |
runTool(java.lang.String... args)
Run the tool with the given output stream and arguments. |
Methods inherited from class org.h2.util.Tool |
---|
printNoDatabaseFilesFound, setOut, showUsage, throwUnsupportedOption |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConvertTraceFile()
Method Detail |
---|
public static void main(java.lang.String... args) throws java.sql.SQLException
[-help] or [-?] | Print the list of options |
[-traceFile <file>] | The trace file name (default: test.trace.db) |
[-script <file>] | The script file name (default: test.sql) |
[-javaClass <file>] | The Java directory and class file name (default: Test) |
args
- the command line arguments
java.sql.SQLException
public void runTool(java.lang.String... args) throws java.sql.SQLException
Tool
runTool
in class Tool
args
- the argument list
java.sql.SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |