- java.lang.Object
-
- java.lang.Enum<OutputMode>
-
- com.pervasive.datarush.operators.io.jdbc.OutputMode
-
- All Implemented Interfaces:
Serializable
,Comparable<OutputMode>
public enum OutputMode extends Enum<OutputMode>
The SQL action to take when processing records from a flow.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPEND
Simply insert the record data.CREATETABLE
Create the table.DELETE
Deprecated.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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OutputMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static OutputMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APPEND
public static final OutputMode APPEND
Simply insert the record data.
-
CREATETABLE
public static final OutputMode CREATETABLE
Create the table. Will fail if table already exists.
-
OVERWRITEROWS
public static final OutputMode OVERWRITEROWS
Truncate the table, and then insert the record data.
-
OVERWRITETABLE
public static final OutputMode OVERWRITETABLE
Drop and recreate the table, if it exists, and then insert the record data.
-
UPDATE
@Deprecated public static final OutputMode UPDATE
Deprecated.Update existing rows only. Record key fields are used to determine which rows to update.
-
DELETE
@Deprecated public static final OutputMode DELETE
Deprecated.Deletes exists rows from the table. Record key fields are used to determine which rows to delete.
-
-
Method Detail
-
values
public static OutputMode[] 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 (OutputMode c : OutputMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OutputMode 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
-
-