Enum Class ConfigurationCompilerPlugInSingleRowFunction.ValueCache
java.lang.Object
java.lang.Enum<ConfigurationCompilerPlugInSingleRowFunction.ValueCache>
com.espertech.esper.common.client.configuration.compiler.ConfigurationCompilerPlugInSingleRowFunction.ValueCache
- All Implemented Interfaces:
Serializable
,Comparable<ConfigurationCompilerPlugInSingleRowFunction.ValueCache>
,Constable
- Enclosing class:
- ConfigurationCompilerPlugInSingleRowFunction
public static enum ConfigurationCompilerPlugInSingleRowFunction.ValueCache
extends Enum<ConfigurationCompilerPlugInSingleRowFunction.ValueCache>
Enum for single-row function value cache setting.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCauses the runtime to follow the runtime-wide policy as configured for user-defined functions.The default, the result of a single-row function is always computed anew.Causes the runtime to not actually invoke the single-row function and instead return a cached precomputed value when all parameters are constants or there are no parameters. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DISABLED
The default, the result of a single-row function is always computed anew. -
ENABLED
Causes the runtime to not actually invoke the single-row function and instead return a cached precomputed value when all parameters are constants or there are no parameters. -
CONFIGURED
Causes the runtime to follow the runtime-wide policy as configured for user-defined functions.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-