- All Implemented Interfaces:
Serializable,Comparable<OutputMode>,java.lang.constant.Constable
The SQL action to take when processing records from a flow.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSimply insert the record data.Create the table.Deprecated.Truncate the table, and then insert the record data.Drop and recreate the table, if it exists, and then insert the record data.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic OutputModeReturns the enum constant of this class with the specified name.static OutputMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APPEND
Simply insert the record data. -
CREATETABLE
Create the table. Will fail if table already exists. -
OVERWRITEROWS
Truncate the table, and then insert the record data. -
OVERWRITETABLE
Drop and recreate the table, if it exists, and then insert the record data. -
UPDATE
Deprecated.Update existing rows only. Record key fields are used to determine which rows to update. -
DELETE
Deprecated.Deletes exists rows from the table. Record key fields are used to determine which rows to delete.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-