Enum SupportsRowLevelDelete.RowLevelDeleteMode
- java.lang.Object
-
- java.lang.Enum<SupportsRowLevelDelete.RowLevelDeleteMode>
-
- org.apache.flink.table.connector.sink.abilities.SupportsRowLevelDelete.RowLevelDeleteMode
-
- All Implemented Interfaces:
Serializable,Comparable<SupportsRowLevelDelete.RowLevelDeleteMode>
- Enclosing interface:
- SupportsRowLevelDelete
@PublicEvolving public static enum SupportsRowLevelDelete.RowLevelDeleteMode extends Enum<SupportsRowLevelDelete.RowLevelDeleteMode>
Type of delete modes that the sink expects for delete purpose.Currently, two modes are supported:
- DELETED_ROWS - in this mode, the sink will only get the rows that need to be deleted.
- REMAINING_ROWS - in this mode, the sink will only get the remaining rows after deletion.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETED_ROWSREMAINING_ROWS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SupportsRowLevelDelete.RowLevelDeleteModevalueOf(String name)Returns the enum constant of this type with the specified name.static SupportsRowLevelDelete.RowLevelDeleteMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DELETED_ROWS
public static final SupportsRowLevelDelete.RowLevelDeleteMode DELETED_ROWS
-
REMAINING_ROWS
public static final SupportsRowLevelDelete.RowLevelDeleteMode REMAINING_ROWS
-
-
Method Detail
-
values
public static SupportsRowLevelDelete.RowLevelDeleteMode[] 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 (SupportsRowLevelDelete.RowLevelDeleteMode c : SupportsRowLevelDelete.RowLevelDeleteMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SupportsRowLevelDelete.RowLevelDeleteMode valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-