|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmondrian.test.UdfTest.ReverseFunction
mondrian.test.UdfTest.ReverseIterableFunction
public static class UdfTest.ReverseIterableFunction
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 | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UdfTest.ReverseIterableFunction()
Method Detail |
---|
public java.lang.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.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |