Enum SupportsRowLevelUpdate.RowLevelUpdateMode
- java.lang.Object
-
- java.lang.Enum<SupportsRowLevelUpdate.RowLevelUpdateMode>
-
- org.apache.flink.table.connector.sink.abilities.SupportsRowLevelUpdate.RowLevelUpdateMode
-
- All Implemented Interfaces:
Serializable,Comparable<SupportsRowLevelUpdate.RowLevelUpdateMode>
- Enclosing interface:
- SupportsRowLevelUpdate
@PublicEvolving public static enum SupportsRowLevelUpdate.RowLevelUpdateMode extends Enum<SupportsRowLevelUpdate.RowLevelUpdateMode>
Type of update modes that the sink expects for update purpose.Currently, two modes are supported:
- UPDATED_ROWS - in this mode, the sink will only get the update after rows.
- ALL_ROWS - in this mode, the sink will get all the rows including both the update after rows and the other rows that don't need to be updated.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_ROWSUPDATED_ROWS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SupportsRowLevelUpdate.RowLevelUpdateModevalueOf(String name)Returns the enum constant of this type with the specified name.static SupportsRowLevelUpdate.RowLevelUpdateMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPDATED_ROWS
public static final SupportsRowLevelUpdate.RowLevelUpdateMode UPDATED_ROWS
-
ALL_ROWS
public static final SupportsRowLevelUpdate.RowLevelUpdateMode ALL_ROWS
-
-
Method Detail
-
values
public static SupportsRowLevelUpdate.RowLevelUpdateMode[] 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 (SupportsRowLevelUpdate.RowLevelUpdateMode c : SupportsRowLevelUpdate.RowLevelUpdateMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SupportsRowLevelUpdate.RowLevelUpdateMode 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
-
-