Package mondrian.olap.fun
Class FunInfo
java.lang.Object
mondrian.olap.fun.FunInfo
- All Implemented Interfaces:
Comparable<FunInfo>
Support class for the
CmdRunner allowing one to view
available functions and their syntax.- Author:
- Richard M. Emberson
-
Method Summary
Modifier and TypeMethodDescriptionintbooleanReturns the description of this function.getName()Returns the name of this function.int[][]Returns the types of the arguments of this function.int[]Returns the type of value returned by this function.String[]Returns the syntactic type of the function.inthashCode()
-
Method Details
-
getSignatures
-
getSyntax
Returns the syntactic type of the function. -
getName
Returns the name of this function. -
getDescription
Returns the description of this function. -
getReturnCategories
public int[] getReturnCategories()Returns the type of value returned by this function. Values are the same as those returned byExp.getCategory(). -
getParameterCategories
public int[][] getParameterCategories()Returns the types of the arguments of this function. Values are the same as those returned byExp.getCategory(). The 0th argument of methods and properties are the object they are applied to. Infix operators have two arguments, and prefix operators have one argument. -
compareTo
- Specified by:
compareToin interfaceComparable<FunInfo>
-
equals
-
hashCode
public int hashCode()
-