Package 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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface mondrian.spi.UserDefinedFunction
UserDefinedFunction.Argument
-
-
Constructor Summary
Constructors Constructor Description ReverseIterableFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
execute(Evaluator eval, UserDefinedFunction.Argument[] args)
Applies this function to a set of arguments, and returns a result.-
Methods inherited from class mondrian.test.UdfTest.ReverseFunction
getDescription, getName, getParameterTypes, getReservedWords, getReturnType, getSyntax
-
-
-
-
Method Detail
-
execute
public java.lang.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 interfaceUserDefinedFunction
- Overrides:
execute
in classUdfTest.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 asIIf
do not evaluate all arguments; this technique is called lazy evaluation.- Returns:
- The result value.
-
-