Interface EvalContext

    • Method Detail

      • getRandom

        float getRandom​(Integer seed)
        Parameters:
        seed - the seed for the random value, following the rules for the "Rnd" function
        Returns:
        a random value for the given seed following the statefulness rules for the "Rnd" function
      • getResultType

        Value.Type getResultType()
        Returns:
        the expected type of the result value for the current expression evaluation (for "default value" and "calculated" expressions)
      • getThisColumnValue

        Value getThisColumnValue()
        Returns:
        the value of the "current" column (for "field validator" expressions)
      • getIdentifierValue

        Value getIdentifierValue​(Identifier identifier)
        Returns:
        the value of the entity identified by the given identifier (for "calculated" and "row validator" expressions)
      • getBindings

        Bindings getBindings()
        Returns:
        the currently configured Bindings (from the EvalConfig)
      • get

        Object get​(String key)
        Returns:
        the value of the current key from the currently configured Bindings
      • put

        void put​(String key,
                 Object value)
        Sets the value of the given key to the given value in the currently configured Bindings.