Enum OptimizerConfigOptions.NonDeterministicUpdateStrategy
- java.lang.Object
-
- java.lang.Enum<OptimizerConfigOptions.NonDeterministicUpdateStrategy>
-
- org.apache.flink.table.api.config.OptimizerConfigOptions.NonDeterministicUpdateStrategy
-
- All Implemented Interfaces:
Serializable
,Comparable<OptimizerConfigOptions.NonDeterministicUpdateStrategy>
- Enclosing class:
- OptimizerConfigOptions
@PublicEvolving public static enum OptimizerConfigOptions.NonDeterministicUpdateStrategy extends Enum<OptimizerConfigOptions.NonDeterministicUpdateStrategy>
Strategy for handling non-deterministic updates.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IGNORE
Do nothing if exists non-deterministic updates, the risk of wrong result still exists.TRY_RESOLVE
Try to resolve by planner automatically if exists non-deterministic updates, will raise an error when cannot resolve.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OptimizerConfigOptions.NonDeterministicUpdateStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static OptimizerConfigOptions.NonDeterministicUpdateStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRY_RESOLVE
public static final OptimizerConfigOptions.NonDeterministicUpdateStrategy TRY_RESOLVE
Try to resolve by planner automatically if exists non-deterministic updates, will raise an error when cannot resolve.
-
IGNORE
public static final OptimizerConfigOptions.NonDeterministicUpdateStrategy IGNORE
Do nothing if exists non-deterministic updates, the risk of wrong result still exists.
-
-
Method Detail
-
values
public static OptimizerConfigOptions.NonDeterministicUpdateStrategy[] 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 (OptimizerConfigOptions.NonDeterministicUpdateStrategy c : OptimizerConfigOptions.NonDeterministicUpdateStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OptimizerConfigOptions.NonDeterministicUpdateStrategy 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
-
-