public static enum TableLoggerBase.Flags extends Enum<TableLoggerBase.Flags>
Enum Constant and Description |
---|
Atomic
Log the entire table as a unit.
|
End
End a previously started transaction.
|
None
No transaction begin/end.
|
RowByRow
Log each row independently.
|
Start
Begin a transaction.
|
Modifier and Type | Method and Description |
---|---|
Row.Flags |
currentRowFlags(boolean first,
boolean last)
Provide the row flags base on the transactional behavior and whether this is the first and/or last row in an update
|
static TableLoggerBase.Flags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableLoggerBase.Flags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableLoggerBase.Flags None
public static final TableLoggerBase.Flags Atomic
public static final TableLoggerBase.Flags RowByRow
public static final TableLoggerBase.Flags Start
public static final TableLoggerBase.Flags End
public static TableLoggerBase.Flags[] values()
for (TableLoggerBase.Flags c : TableLoggerBase.Flags.values()) System.out.println(c);
public static TableLoggerBase.Flags valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Row.Flags currentRowFlags(boolean first, boolean last)