public static class CrossJoinTest.TestFunDef extends Object implements FunDef
| Constructor and Description | 
|---|
CrossJoinTest.TestFunDef()  | 
| Modifier and Type | Method and Description | 
|---|---|
Calc | 
compileCall(ResolvedFunCall call,
           ExpCompiler compiler)
Converts a call to this function into executable objects. 
 | 
Exp | 
createCall(Validator validator,
          Exp[] args)
Creates an expression which represents a call to this function with
 a given set of arguments. 
 | 
String | 
getDescription()
Returns the description of this function. 
 | 
String | 
getName()
Returns the name of this function. 
 | 
int[] | 
getParameterCategories()
Returns the types of the arguments of this function. 
 | 
int | 
getReturnCategory()
Returns the  
Category code of the value returned by this
 function. | 
String | 
getSignature()
Returns an English description of the signature of the function, for
 example "<Numeric Expression> / <Numeric Expression>". 
 | 
Syntax | 
getSyntax()
Returns the syntactic type of the function. 
 | 
void | 
unparse(Exp[] args,
       PrintWriter pw)
Converts a function call into MDX source code. 
 | 
public Syntax getSyntax()
FunDefpublic String getName()
FunDefpublic String getDescription()
FunDefgetDescription in interface FunDefpublic int getReturnCategory()
FunDefCategory code of the value returned by this
 function.getReturnCategory in interface FunDefpublic int[] getParameterCategories()
FunDefExp.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.getParameterCategories in interface FunDefpublic Exp createCall(Validator validator, Exp[] args)
FunDefResolvedFunCall but
 not always.createCall in interface FunDefpublic String getSignature()
FunDefgetSignature in interface FunDefpublic void unparse(Exp[] args, PrintWriter pw)
FunDefpublic Calc compileCall(ResolvedFunCall call, ExpCompiler compiler)
FunDefThe result must implement the appropriate interface for the result
 type. For example, a function which returns an integer must return
 an object which implements IntegerCalc.
compileCall in interface FunDef