mondrian.test
Class UdfTest.ReverseIterableFunction

java.lang.Object
  extended by mondrian.test.UdfTest.ReverseFunction
      extended by 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
UdfTest.ReverseIterableFunction()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UdfTest.ReverseIterableFunction

public UdfTest.ReverseIterableFunction()
Method Detail

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.

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads