mondrian.udf
Class CurrentDateMemberExactUdf
java.lang.Object
mondrian.udf.CurrentDateMemberUdf
mondrian.udf.CurrentDateMemberExactUdf
- All Implemented Interfaces:
- UserDefinedFunction
- Direct Known Subclasses:
- MockCurrentDateMember
public class CurrentDateMemberExactUdf
- extends CurrentDateMemberUdf
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CurrentDateMemberExactUdf
public CurrentDateMemberExactUdf()
getDescription
public String getDescription()
- Description copied from interface:
UserDefinedFunction
- Returns a description of the user-defined function.
- Specified by:
getDescription in interface UserDefinedFunction- Overrides:
getDescription in class CurrentDateMemberUdf
getParameterTypes
public Type[] getParameterTypes()
- Description copied from interface:
UserDefinedFunction
- Returns an array of the types of the parameters of this function.
- Specified by:
getParameterTypes in interface UserDefinedFunction- Overrides:
getParameterTypes in class CurrentDateMemberUdf
getReservedWords
public String[] 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 interface UserDefinedFunction- Overrides:
getReservedWords in class CurrentDateMemberUdf