Enum WriteMode
- All Implemented Interfaces:
Serializable,Comparable<WriteMode>,java.lang.constant.Constable
Destination-side write operation selected by sink.write-mode.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdds integer contributions to aggregate column families.Atomically appends each nonnull input cell to its latest stored value.Executes a DDL-defined predicate and ordered mutation branches for each input row.Atomically adds each nonnull BIGINT input cell to its latest stored integer.Atomically writes input cells only when the entire stored row has no cell.Atomically deletes all versions of each written cell before setting its replacement.Writes cells through the ordinary mutation batcher. -
Method Summary
-
Enum Constant Details
-
UPSERT
Writes cells through the ordinary mutation batcher. -
INSERT_IF_ABSENT
Atomically writes input cells only when the entire stored row has no cell. -
CONDITIONAL
Executes a DDL-defined predicate and ordered mutation branches for each input row. -
KEEP_LATEST
Atomically deletes all versions of each written cell before setting its replacement. -
APPEND
Atomically appends each nonnull input cell to its latest stored value. -
INCREMENT
Atomically adds each nonnull BIGINT input cell to its latest stored integer. -
AGGREGATE
Adds integer contributions to aggregate column families.
-
-
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
-
toString
-