Package org.apache.flink.sql.parser.ddl
Enum SqlTableLike.MergingStrategy
java.lang.Object
java.lang.Enum<SqlTableLike.MergingStrategy>
org.apache.flink.sql.parser.ddl.SqlTableLike.MergingStrategy
- All Implemented Interfaces:
Serializable,Comparable<SqlTableLike.MergingStrategy>
- Enclosing class:
- SqlTableLike
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.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic SqlTableLike.MergingStrategyReturns the enum constant of this type with the specified name.static SqlTableLike.MergingStrategy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INCLUDING
-
EXCLUDING
-
OVERWRITING
-
-
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
-