Enum 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.
    • 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 name
        NullPointerException - if the argument is null