Package org.teiid.metadata
Enum FunctionMethod.Determinism
- java.lang.Object
-
- java.lang.Enum<FunctionMethod.Determinism>
-
- org.teiid.metadata.FunctionMethod.Determinism
-
- All Implemented Interfaces:
Serializable
,Comparable<FunctionMethod.Determinism>
- Enclosing class:
- FunctionMethod
public static enum FunctionMethod.Determinism extends Enum<FunctionMethod.Determinism>
DETERMINISTIC - normal deterministic functions vdb - lookup (however lookup values can be flushed at any time), current_database session - env, user command - command payload never - rand, etc. Anything at a session level and above is treated as deterministic. This is not quite correct for lookup or env. Only in extremely rare circumstances would that be a problem. For now the commandPayload function is treated as a special case, like lookup, in that it is considered deterministic, but will be delayed in its evaluation until processing time.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMAND_DETERMINISTIC
DETERMINISTIC
INSTRUCTION_DETERMINISTIC
NONDETERMINISTIC
SESSION_DETERMINISTIC
USER_DETERMINISTIC
VDB_DETERMINISTIC
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FunctionMethod.Determinism
valueOf(String name)
Returns the enum constant of this type with the specified name.static FunctionMethod.Determinism[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONDETERMINISTIC
public static final FunctionMethod.Determinism NONDETERMINISTIC
-
INSTRUCTION_DETERMINISTIC
public static final FunctionMethod.Determinism INSTRUCTION_DETERMINISTIC
-
COMMAND_DETERMINISTIC
public static final FunctionMethod.Determinism COMMAND_DETERMINISTIC
-
SESSION_DETERMINISTIC
public static final FunctionMethod.Determinism SESSION_DETERMINISTIC
-
USER_DETERMINISTIC
public static final FunctionMethod.Determinism USER_DETERMINISTIC
-
VDB_DETERMINISTIC
public static final FunctionMethod.Determinism VDB_DETERMINISTIC
-
DETERMINISTIC
public static final FunctionMethod.Determinism DETERMINISTIC
-
-
Method Detail
-
values
public static FunctionMethod.Determinism[] 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 (FunctionMethod.Determinism c : FunctionMethod.Determinism.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FunctionMethod.Determinism 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
-
-