mondrian.test
Class UdfTest.BadPlusOneUdf
java.lang.Object
mondrian.test.UdfTest.PlusOneUdf
mondrian.test.UdfTest.BadPlusOneUdf
- All Implemented Interfaces:
- UserDefinedFunction
- Enclosing class:
- UdfTest
public static class UdfTest.BadPlusOneUdf
- extends UdfTest.PlusOneUdf
A simple user-defined function which adds one to its argument.
Method Summary |
String |
getName()
Returns the name with which the user-defined function will be used
from within MDX expressions. |
Type |
getReturnType(Type[] parameterTypes)
Returns the return-type of this function. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UdfTest.BadPlusOneUdf
public UdfTest.BadPlusOneUdf(String name)
getName
public String getName()
- Description copied from interface:
UserDefinedFunction
- Returns the name with which the user-defined function will be used
from within MDX expressions.
- Specified by:
getName
in interface UserDefinedFunction
- Overrides:
getName
in class UdfTest.PlusOneUdf
getReturnType
public Type getReturnType(Type[] parameterTypes)
- Description copied from interface:
UserDefinedFunction
- Returns the return-type of this function.
- Specified by:
getReturnType
in interface UserDefinedFunction
- Overrides:
getReturnType
in class UdfTest.PlusOneUdf
- Parameters:
parameterTypes
- Parameter types
- Returns:
- Return type