evaluate()

The evaluate() method is called once for each row of data in the SQL statement and must return a single value back to the Netezza database.

The arguments passed into the evaluate method match the format specified by the getArgs() method. An evaluate() method that returns the result of adding two numbers is shown here.
function evaluate(x, y)
return x + y

end