Package io.deephaven.enterprise.database
Class SystemTableLogger
java.lang.Object
io.deephaven.enterprise.database.SystemTableLogger
Utility to log 
Table objects to System tables via the Log Aggregator Server.- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classOptions for writing a system table using a logger.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidlogTable(@NotNull Database database, @NotNull String namespace, @NotNull String tableName, @NotNull Table tableToLog, @NotNull SystemTableLogger.Options options) Write tableToLog to System storage.static SafeCloseablelogTableIncremental(@NotNull Database database, @NotNull String namespace, @NotNull String tableName, @NotNull Table tableToLog, @NotNull SystemTableLogger.Options options) Write tableToLog and its updates to System storage.Create an options builder for use with logTable.
- 
Constructor Details- 
SystemTableLoggerpublic SystemTableLogger()
 
- 
- 
Method Details- 
logTablepublic static void logTable(@NotNull @NotNull Database database, @NotNull @NotNull String namespace, @NotNull @NotNull String tableName, @NotNull @NotNull Table tableToLog, @NotNull @NotNull SystemTableLogger.Options options) Write tableToLog to System storage.The table is logged to Intraday storage and can be retrieved with Database.liveTable(String, String). Historical tables should be written using a merge process.- Parameters:
- database- a Database object
- namespace- the namespace of the table
- tableName- the name of the table
- tableToLog- the table to log
- options-- SystemTableLogger.Optionsthat control write behavior
 
- 
logTableIncrementalpublic static SafeCloseable logTableIncremental(@NotNull @NotNull Database database, @NotNull @NotNull String namespace, @NotNull @NotNull String tableName, @NotNull @NotNull Table tableToLog, @NotNull @NotNull SystemTableLogger.Options options) Write tableToLog and its updates to System storage.The table is logged to Intraday storage and can be retrieved with Database.liveTable(String, String). Historical tables should be written using a merge process.No rows should be removed or modified in tableToLog. Modifications are an error. If the table is not a blink table, then removals are an error. To stop logging and release resources, call SafeCloseable.close()on the returned value.- Parameters:
- database- a Database object
- namespace- the namespace of the table
- tableName- the name of the table
- tableToLog- the table to log
- options-- SystemTableLogger.Optionsthat control write behavior
 
- 
newOptionsBuilderCreate an options builder for use with logTable.- Returns:
- the Options.Builder
 
 
-