Enum Class OutputMode

java.lang.Object
java.lang.Enum<OutputMode>
com.pervasive.datarush.operators.io.jdbc.OutputMode
All Implemented Interfaces:
Serializable, Comparable<OutputMode>, java.lang.constant.Constable

public enum OutputMode extends Enum<OutputMode>
The SQL action to take when processing records from a flow.
  • Enum Constant Details

    • 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 Details

    • values

      public static OutputMode[] 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

      public static OutputMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null