Enum PayloadType
- java.lang.Object
-
- java.lang.Enum<PayloadType>
-
- org.apache.iceberg.connect.events.PayloadType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PayloadType>
public enum PayloadType extends java.lang.Enum<PayloadType>
Control event types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMIT_COMPLETE
Maps to payload of typeCommitComplete
COMMIT_TO_TABLE
Maps to payload of typeCommitToTable
DATA_COMPLETE
Maps to payload of typeDataComplete
DATA_WRITTEN
Maps to payload of typeDataWritten
START_COMMIT
Maps to payload of typeStartCommit
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
id()
static PayloadType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PayloadType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START_COMMIT
public static final PayloadType START_COMMIT
Maps to payload of typeStartCommit
-
DATA_WRITTEN
public static final PayloadType DATA_WRITTEN
Maps to payload of typeDataWritten
-
DATA_COMPLETE
public static final PayloadType DATA_COMPLETE
Maps to payload of typeDataComplete
-
COMMIT_TO_TABLE
public static final PayloadType COMMIT_TO_TABLE
Maps to payload of typeCommitToTable
-
COMMIT_COMPLETE
public static final PayloadType COMMIT_COMPLETE
Maps to payload of typeCommitComplete
-
-
Method Detail
-
values
public static PayloadType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PayloadType c : PayloadType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PayloadType valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
id
public int id()
-
-