Package mondrian.udf
Class CurrentDateMemberExactUdf
java.lang.Object
mondrian.udf.CurrentDateMemberUdf
mondrian.udf.CurrentDateMemberExactUdf
- All Implemented Interfaces:
UserDefinedFunction
User-defined function
CurrentDateMember
. Arguments to the
function are as follows:
CurrentDateMember(<Hierarchy>, <FormatString>)
returns <Member>
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 by
Format
.- Author:
- Zelaine Fong
-
Nested Class Summary
Nested classes/interfaces inherited from interface mondrian.spi.UserDefinedFunction
UserDefinedFunction.Argument
-
Constructor Summary
-
Method Summary
Methods inherited from class mondrian.udf.CurrentDateMemberUdf
execute, getName, getReturnType, getSyntax
-
Constructor Details
-
CurrentDateMemberExactUdf
public CurrentDateMemberExactUdf()
-
-
Method Details
-
getDescription
Description copied from interface:UserDefinedFunction
Returns a description of the user-defined function.- Specified by:
getDescription
in interfaceUserDefinedFunction
- Overrides:
getDescription
in classCurrentDateMemberUdf
-
getParameterTypes
Description copied from interface:UserDefinedFunction
Returns an array of the types of the parameters of this function.- Specified by:
getParameterTypes
in interfaceUserDefinedFunction
- Overrides:
getParameterTypes
in classCurrentDateMemberUdf
-
getReservedWords
Description copied from interface:UserDefinedFunction
Returns 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:
getReservedWords
in interfaceUserDefinedFunction
- Overrides:
getReservedWords
in classCurrentDateMemberUdf
-