Package mondrian.olap.fun
Class FunInfo
- java.lang.Object
- 
- mondrian.olap.fun.FunInfo
 
- 
- All Implemented Interfaces:
- Comparable<FunInfo>
 
 public class FunInfo extends Object implements Comparable<FunInfo> Support class for theCmdRunnerallowing one to view available functions and their syntax.- Author:
- Richard M. Emberson
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(FunInfo fi)booleanequals(Object obj)StringgetDescription()Returns the description of this function.StringgetName()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.String[]getSignatures()SyntaxgetSyntax()Returns the syntactic type of the function.inthashCode()
 
- 
- 
- 
Method Detail- 
getSignaturespublic String[] getSignatures() 
 - 
getSyntaxpublic Syntax getSyntax() Returns the syntactic type of the function.
 - 
getNamepublic String getName() Returns the name of this function.
 - 
getDescriptionpublic String getDescription() Returns the description of this function.
 - 
getReturnCategoriespublic int[] getReturnCategories() Returns the type of value returned by this function. Values are the same as those returned byExp.getCategory().
 - 
getParameterCategoriespublic 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.
 - 
compareTopublic int compareTo(FunInfo fi) - Specified by:
- compareToin interface- Comparable<FunInfo>
 
 
- 
 
-