Enum LookupOptions.ReloadStrategy
- java.lang.Object
-
- java.lang.Enum<LookupOptions.ReloadStrategy>
-
- org.apache.flink.table.connector.source.lookup.LookupOptions.ReloadStrategy
-
- All Implemented Interfaces:
Serializable,Comparable<LookupOptions.ReloadStrategy>
- Enclosing class:
- LookupOptions
@PublicEvolving public static enum LookupOptions.ReloadStrategy extends Enum<LookupOptions.ReloadStrategy>
Defines whichCacheReloadTriggerto use.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LookupOptions.ReloadStrategyvalueOf(String name)Returns the enum constant of this type with the specified name.static LookupOptions.ReloadStrategy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PERIODIC
public static final LookupOptions.ReloadStrategy PERIODIC
-
TIMED
public static final LookupOptions.ReloadStrategy TIMED
-
-
Method Detail
-
values
public static LookupOptions.ReloadStrategy[] 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 (LookupOptions.ReloadStrategy c : LookupOptions.ReloadStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LookupOptions.ReloadStrategy 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
-
-