public class TransactionLogTool extends Object
RogLog
logs.
This tool allows the user to switch between two operation modes, browse mode and query mode. In browse mode the user can interact with a single log file and browse its contents. In query mode the user can execute queries against all of the currently open logs. The user can switch back and forth between the two modes using the 'switch' command.
Constructor and Description |
---|
TransactionLogTool() |
TransactionLogTool(File archiveExtractionDir) |
Modifier and Type | Method and Description |
---|---|
String |
getLogFromUUID(String logId)
Gets the name of the open log with the given id or null if
no open log exists.
|
Collection<RogLog> |
getOpenLogs() |
RogLogQueryEngine |
getQueryEngine()
Gets the tool's query engine.
|
Collection<Class<?>> |
getTypes() |
static void |
main(String[] args) |
Collection<RogLog> |
open(String logPath)
Open the log or logs at the given path.
|
public static void main(String[] args)
public Collection<RogLog> open(String logPath)
logPath
- The file or directory name of logs to openpublic Collection<RogLog> getOpenLogs()
RogLog
spublic RogLogQueryEngine getQueryEngine() throws Exception
Exception
- If there is an error opening the query engine.public String getLogFromUUID(String logId)
logId
- The logId to locatepublic Collection<Class<?>> getTypes() throws Exception
Exception
- Get the list of types.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.