|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmondrian.olap.fun.FunInfo
public class FunInfo
Support class for the CmdRunner
allowing one to view
available functions and their syntax.
Constructor Summary | |
---|---|
FunInfo(FunDef funDef)
|
|
FunInfo(MultiResolver multiResolver)
|
|
FunInfo(Resolver resolver)
|
|
FunInfo(java.lang.String name,
java.lang.String description,
java.lang.String flags)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
FunInfo(FunDef funDef)
FunInfo(MultiResolver multiResolver)
FunInfo(Resolver resolver)
FunInfo(java.lang.String name, java.lang.String description, java.lang.String flags)
Method Detail |
---|
static FunInfo make(Resolver resolver)
public java.lang.String[] getSignatures()
public Syntax getSyntax()
public java.lang.String getName()
public java.lang.String getDescription()
public int[] getReturnCategories()
Exp.getCategory()
.
public int[][] getParameterCategories()
Exp.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.
public int compareTo(FunInfo fi)
compareTo
in interface java.lang.Comparable<FunInfo>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |