public static class UdfTest.ReverseIterableFunction extends UdfTest.ReverseFunction
UserDefinedFunction.Argument
Constructor and Description |
---|
UdfTest.ReverseIterableFunction() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(Evaluator eval,
UserDefinedFunction.Argument[] args)
Applies this function to a set of arguments, and returns a result.
|
getDescription, getName, getParameterTypes, getReservedWords, getReturnType, getSyntax
public Object execute(Evaluator eval, UserDefinedFunction.Argument[] args)
UserDefinedFunction
execute
in interface UserDefinedFunction
execute
in class UdfTest.ReverseFunction
eval
- Evaluator containts the runtime context, in particular
the current member of each dimension.args
- Expressions which yield the arguments of this function.
Most user-defined functions will evaluate all arguments before using
them. Functions such as IIf
do not evaluate all
arguments; this technique is called lazy evaluation.