Package io.delta.kernel
Enum Operation
- All Implemented Interfaces:
Serializable,Comparable<Operation>
An operation that can be performed on a Delta table.
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 Summary
Enum ConstantsEnum ConstantDescriptionRecorded when the table is created.For any operation that doesn't fit the above categories.Recorded during streaming inserts.Recorded during batch inserts. -
Method Summary
Modifier and TypeMethodDescriptionReturns the string that will be recorded in the transaction log.static OperationReturns 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.
-
Enum Constant Details
-
CREATE_TABLE
Recorded when the table is created. -
WRITE
Recorded during batch inserts. -
STREAMING_UPDATE
Recorded during streaming inserts. -
MANUAL_UPDATE
For any operation that doesn't fit the above categories.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getDescription
Returns the string that will be recorded in the transaction log.
-