Package mondrian.udf
Class CurrentDateMemberExactUdf
- java.lang.Object
-
- mondrian.udf.CurrentDateMemberUdf
-
- mondrian.udf.CurrentDateMemberExactUdf
-
- All Implemented Interfaces:
UserDefinedFunction
public class CurrentDateMemberExactUdf extends CurrentDateMemberUdf
User-defined functionCurrentDateMember. Arguments to the function are as follows:
The function returns the member from the specified hierarchy that matches the current date, to the granularity specified by the <FormatString>. The format string conforms to the format string implemented byCurrentDateMember(<Hierarchy>, <FormatString>) returns <Member>Format.- Author:
- Zelaine Fong
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface mondrian.spi.UserDefinedFunction
UserDefinedFunction.Argument
-
-
Constructor Summary
Constructors Constructor Description CurrentDateMemberExactUdf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Returns a description of the user-defined function.Type[]getParameterTypes()Returns an array of the types of the parameters of this function.String[]getReservedWords()Returns a list of reserved words used by this function.-
Methods inherited from class mondrian.udf.CurrentDateMemberUdf
execute, getName, getReturnType, getSyntax
-
-
-
-
Method Detail
-
getDescription
public String getDescription()
Description copied from interface:UserDefinedFunctionReturns a description of the user-defined function.- Specified by:
getDescriptionin interfaceUserDefinedFunction- Overrides:
getDescriptionin classCurrentDateMemberUdf
-
getParameterTypes
public Type[] getParameterTypes()
Description copied from interface:UserDefinedFunctionReturns an array of the types of the parameters of this function.- Specified by:
getParameterTypesin interfaceUserDefinedFunction- Overrides:
getParameterTypesin classCurrentDateMemberUdf
-
getReservedWords
public String[] getReservedWords()
Description copied from interface:UserDefinedFunctionReturns a list of reserved words used by this function. May return an empty array or null if this function does not require any reserved words.- Specified by:
getReservedWordsin interfaceUserDefinedFunction- Overrides:
getReservedWordsin classCurrentDateMemberUdf
-
-