|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.olap.fun.CrossJoinTest.TestFunDef
public static class CrossJoinTest.TestFunDef
| Constructor Summary | |
|---|---|
CrossJoinTest.TestFunDef()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
CrossJoinTest.TestFunDef()
| Method Detail |
|---|
public Syntax getSyntax()
FunDef
getSyntax in interface FunDefpublic String getName()
FunDef
getName in interface FunDefpublic String getDescription()
FunDef
getDescription 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 FunDef
public Exp createCall(Validator validator,
Exp[] args)
FunDefResolvedFunCall but
not always.
createCall in interface FunDefpublic String getSignature()
FunDef
getSignature in interface FunDef
public void unparse(Exp[] args,
PrintWriter pw)
FunDef
unparse in interface FunDef
public 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
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||