Package mondrian.olap.fun
Class FunInfo
- java.lang.Object
-
- mondrian.olap.fun.FunInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(FunInfo fi)
boolean
equals(java.lang.Object obj)
java.lang.String
getDescription()
Returns the description of this function.java.lang.String
getName()
Returns the name of this function.int[][]
getParameterCategories()
Returns the types of the arguments of this function.int[]
getReturnCategories()
Returns the type of value returned by this function.java.lang.String[]
getSignatures()
Syntax
getSyntax()
Returns the syntactic type of the function.int
hashCode()
(package private) static FunInfo
make(Resolver resolver)
-
-
-
Constructor Detail
-
FunInfo
FunInfo(FunDef funDef)
-
FunInfo
FunInfo(MultiResolver multiResolver)
-
FunInfo
FunInfo(Resolver resolver)
-
FunInfo
FunInfo(java.lang.String name, java.lang.String description, java.lang.String flags)
-
-
Method Detail
-
getSignatures
public java.lang.String[] getSignatures()
-
getSyntax
public Syntax getSyntax()
Returns the syntactic type of the function.
-
getName
public java.lang.String getName()
Returns the name of this function.
-
getDescription
public java.lang.String 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
public int compareTo(FunInfo fi)
- Specified by:
compareTo
in interfacejava.lang.Comparable<FunInfo>
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-