Enum SqlTableLike.MergingStrategy

  • All Implemented Interfaces:
    Serializable, Comparable<SqlTableLike.MergingStrategy>
    Enclosing class:
    SqlTableLike

    public static enum SqlTableLike.MergingStrategy
    extends Enum<SqlTableLike.MergingStrategy>
    A strategy that describes how the features of the parent source table should be merged with the features of the newly created table.
    • EXCLUDING - does not include the given feature of the source table
    • INCLUDING - includes feature of the source table, fails on duplicate entries, e.g. if an option with the same key exists in both tables.
    • OVERWRITING - includes feature of the source table, overwrites duplicate entries of the source table with properties of the new table, e.g. if an option with the same key exists in both tables, the one from the current statement will be used.
    • Method Detail

      • values

        public static SqlTableLike.MergingStrategy[] 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 (SqlTableLike.MergingStrategy c : SqlTableLike.MergingStrategy.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SqlTableLike.MergingStrategy 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 name
        NullPointerException - if the argument is null