mondrian.test
Class UdfTest.ReverseIterableFunction
java.lang.Object
mondrian.test.UdfTest.ReverseFunction
mondrian.test.UdfTest.ReverseIterableFunction
- All Implemented Interfaces:
- UserDefinedFunction
- Enclosing class:
- UdfTest
public static class UdfTest.ReverseIterableFunction
- extends UdfTest.ReverseFunction
Function that takes a set of members as argument, and returns a set of
members.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UdfTest.ReverseIterableFunction
public UdfTest.ReverseIterableFunction()
execute
public Object execute(Evaluator eval,
UserDefinedFunction.Argument[] args)
- Description copied from interface:
UserDefinedFunction
- Applies this function to a set of arguments, and returns a result.
- Specified by:
execute
in interface UserDefinedFunction
- Overrides:
execute
in class UdfTest.ReverseFunction
- Parameters:
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.
- Returns:
- The result value.