JournalReader This set of applications parse a checkpoint or journal file and offer an interface to act on this schema. There are several example applications available in this package: ===================================================== journal.reader.JournalReader <filename> [action] [-z] ===================================================== The JournalReader application reads a checkpoint, compressed or not, and applies the action on it. By default, the action is to simply print out the checkpoint again in checkpoint format. The action applied in this case is journal.action.JournalAction. Any other action can be provided by passing the class name of an action. This action needs to implement journal.action.Action (see the source code). One example of a more useful action is journal.action.JournalSplitter, which splits the checkpoint into separate files for each database table. A new addition is journal.action.HighAsciiFinderAction, which searches in the journal file/checkpoint in all KEY and TEXT fields for high ascii characters, that would prevent the conversion of the Perforce Server to Unicode. ============================================================ journal.reader.JournalComparer <file1> <file2> [linecounter] ============================================================ The JournalComparer application reads two checkpoints and compares them to each other. It will print out the differences between these checkpoints. The linecounter, if set, will print out the linecounter for each file to stderr at the specified interval.
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 7528 | Sven Erik Knop | Moved some of the text, licenses, documentation and examples to the proper new location. | ||
//guest/sven_erik_knop/JournalReader/readme.txt | |||||
#3 | 7375 | Sven Erik Knop |
Major update of the JournalReader. Complete rewrite of the command line parsing Change in the options parsing within the journal reader New SQLLoader action. Currently only against MySQL (needs MySQL JDBC driver) with fixed database and user name. This will be replaced by a config file at some stage. |
||
#2 | 7117 | Sven Erik Knop |
Added HighAsciiFinderAction, an action that displays all journal/checkpoint entries that contain high ascii characters in any of their text fields. Small adjustment in journal.schema.TableVersion to provide an iterator for all attributes: for (Attribute attr : tableVersion) |
||
#1 | 6467 | Sven Erik Knop |
Added JournalReader, a Java library of useful tools to read and process checkpoints and journals. Added are a readme.txt to explain some details, and a jar file that contains the compiled class files. The programs will need Java 1.6 to run. |