public enum Operation extends Enum<Operation>
An operation is tracked as the first line in commit info action inside the Delta Log It also
shows up when DESCRIBE HISTORY on the table is executed.
| Enum Constant and Description |
|---|
CREATE_TABLE
Recorded when the table is created.
|
MANUAL_UPDATE
For any operation that doesn't fit the above categories.
|
STREAMING_UPDATE
Recorded during streaming inserts.
|
WRITE
Recorded during batch inserts.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns the string that will be recorded in the transaction log.
|
static Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operation CREATE_TABLE
public static final Operation WRITE
public static final Operation STREAMING_UPDATE
public static final Operation MANUAL_UPDATE
public static Operation[] values()
for (Operation c : Operation.values()) System.out.println(c);
public static Operation 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 String getDescription()