| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | ConvertTraceFile.
This class holds statistics about a SQL statement. |
| Modifier and Type | Field and Description |
|---|---|
| private final HashMap | |
| private long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | convertFile(String traceFileName, String javaClassName, String script)
Converts a trace file to a Java class file and a script file. |
| public static void | |
| private static String | |
| private static String | |
| public void | runTool(String...
the argument list args)Implements abstract org. Run the tool with the given output stream and arguments. |
| stats | back to summary |
|---|---|
| private final HashMap<String, ConvertTraceFile. | |
| timeTotal | back to summary |
|---|---|
| private long timeTotal | |
| ConvertTraceFile | back to summary |
|---|---|
| public ConvertTraceFile() | |
| addToStats | back to summary |
|---|---|
| private void addToStats(String sql, int resultCount, long time) | |
| convertFile | back to summary |
|---|---|
| private void convertFile(String traceFileName, String javaClassName, String script) throws IOException Converts a trace file to a Java class file and a script file. | |
| main | back to summary | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public static void main(String... args) throws SQLException Options are case sensitive.
| |||||||||
| padNumberLeft | back to summary |
|---|---|
| private static String padNumberLeft(long number, int digits) | |
| removeNewlines | back to summary |
|---|---|
| private static String removeNewlines(String s) | |
| runTool | back to summary |
|---|---|
| public void runTool(String... args) throws SQLException Implements abstract org. Doc from org. Run the tool with the given output stream and arguments.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv long | |
| pack-priv String | |
| pack-priv long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(ConvertTraceFile.
the object to be compared. otherImplements java. Compares this object with the specified object for order. |
| executeCount | back to summary |
|---|---|
| pack-priv int executeCount | |
| resultCount | back to summary |
|---|---|
| pack-priv long resultCount | |
| sql | back to summary |
|---|---|
| pack-priv String sql | |
| time | back to summary |
|---|---|
| pack-priv long time | |
| Stat | back to summary |
|---|---|
| pack-priv Stat() | |
| compareTo | back to summary |
|---|---|
| public int compareTo(ConvertTraceFile. Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |