public interface TableLoggerBase
Modifier and Type | Interface and Description |
---|---|
static class |
TableLoggerBase.Flags
Flags for controlling the transactional behavior of this log call.
|
static interface |
TableLoggerBase.Handle
Marker interface for log handles
|
static class |
TableLoggerBase.Operation
Indicator of the source table update event that resulted in a log call.
|
Modifier and Type | Method and Description |
---|---|
TableLoggerBase.Handle |
getLogHandle(Table tableToLog)
Gets a handle suitable for use with logTableHandle.
|
default void |
logTable(Table tableToLog)
Writes a snapshot of tableToLog to the target.
|
default void |
logTable(Table tableToLog,
Index index)
Writes a subset of tableToLog to the binary log.
|
void |
logTable(Table tableToLog,
Index index,
TableLoggerBase.Flags flags,
boolean logUpdates,
boolean logPrevValues)
Writes tableToLog to the target.
|
default void |
logTable(Table tableToLog,
TableLoggerBase.Flags flags)
Writes a snapshot of tableToLog to the target.
|
default void |
logTable(Table tableToLog,
TableLoggerBase.Flags flags,
boolean logUpdates)
Writes tableToLog to the target.
|
default void |
logTable(Table tableToLog,
TableLoggerBase.Flags flags,
boolean logUpdates,
boolean logPrevValues)
Writes tableToLog to the target.
|
default void |
logTable(Table tableToLog,
TableLoggerBase.Flags flags,
Index index)
Writes a subset of tableToLog to the target.
|
void logTable(Table tableToLog, Index index, TableLoggerBase.Flags flags, boolean logUpdates, boolean logPrevValues)
tableToLog
- the table to log, must conform to the definition used to create this loggerindex
- the subset of the table to logflags
- controls the transaction behaviorlogUpdates
- if true, continue to log updates to the tablelogPrevValues
- if true, log the old version of each row when rows are modified (only applicable when logUpdates is true)IOException
- if the log call failsdefault void logTable(Table tableToLog, TableLoggerBase.Flags flags, boolean logUpdates, boolean logPrevValues)
tableToLog
- the table to log, must conform to the definition used to create this loggerflags
- controls the transaction behaviorlogUpdates
- if true, continue to log updates to the tablelogPrevValues
- if true, log the old version of each row when rows are modified (only applicable when logUpdates is true)IOException
- if the log call failsdefault void logTable(Table tableToLog, TableLoggerBase.Flags flags, Index index)
tableToLog
- the table to log, must conform to the definition used to create this loggerflags
- controls the transaction behaviorindex
- the subset of the table to logIOException
- if the log call failsdefault void logTable(Table tableToLog, TableLoggerBase.Flags flags, boolean logUpdates)
TableLoggerBase.logTable(Table,Flags,boolean,boolean)
with logPrevValues set to true.tableToLog
- the table to log, must conform to the definition used to create this loggerflags
- controls the transaction behaviorlogUpdates
- if true, continue to log updates to the tableIOException
- if the log call failsdefault void logTable(Table tableToLog, TableLoggerBase.Flags flags)
TableLoggerBase.logTable(Table, Flags, boolean, boolean)
with logUpdates and logPrevValues set to false.tableToLog
- the table to log, must conform to the definition used to create this loggerflags
- controls the transaction behaviorIOException
- if the log call failsdefault void logTable(Table tableToLog)
TableLoggerBase.logTable(Table, Flags)
with flags set to TableLoggerBase.DEFAULT_TABLELOGGER_FLAGS
.tableToLog
- the table to log, must conform to the definition used to create this loggerIOException
- if the log call failsdefault void logTable(Table tableToLog, Index index)
TableLoggerBase.logTable(Table, Flags, Index)
with flags set to TableLoggerBase.DEFAULT_TABLELOGGER_FLAGS
.tableToLog
- the table to log, must conform to the definition used to create this loggerindex
- which rows to log from the table (initial snapshot only)IOException
TableLoggerBase.Handle getLogHandle(Table tableToLog)
tableToLog
- the table to log, must conform to the definition used to create this logger