| Constructor and Description |
|---|
UnresolvedFunCall(String name,
Exp[] args)
Creates a function call with
Syntax.Function syntax. |
UnresolvedFunCall(String name,
Syntax syntax,
Exp[] args)
Creates a function call.
|
| Modifier and Type | Method and Description |
|---|---|
Calc |
accept(ExpCompiler compiler)
Converts this expression into an a tree of expressions which can be
efficiently evaluated.
|
Object |
accept(MdxVisitor visitor)
Accepts a visitor to this Exp.
|
Exp |
accept(Validator validator)
Validates this expression.
|
UnresolvedFunCall |
clone() |
Exp |
getArg(int index)
Returns the Exp argument at the specified index.
|
int |
getArgCount()
Returns the number of arguments.
|
Exp[] |
getArgs()
Returns the internal array of Exp arguments.
|
int |
getCategory()
Returns the
Category of the expression. |
Object[] |
getChildren()
Returns an array of the object's children.
|
String |
getFunName()
Returns the function name.
|
Syntax |
getSyntax()
Returns the syntax of this function call.
|
Type |
getType()
Returns the type of this expression.
|
void |
unparse(PrintWriter pw)
Writes a string representation of this parse tree
node to the given writer.
|
cloneArray, getTypes, unparseListpublic UnresolvedFunCall(String name, Exp[] args)
Syntax.Function syntax.public UnresolvedFunCall clone()
public int getCategory()
ExpCategory of the expression.getCategory in interface Exppublic Type getType()
Exppublic void unparse(PrintWriter pw)
QueryPartpublic Object accept(MdxVisitor visitor)
ExpMdxVisitor.visit(mondrian.olap.Query) method appropriate to the type of expression.public Exp accept(Validator validator)
Exppublic Calc accept(ExpCompiler compiler)
Exppublic String getFunName()
getFunName in interface FunCallpublic Syntax getSyntax()
public Exp getArg(int index)
public Exp[] getArgs()
Note: this does NOT do a copy.
public final int getArgCount()
getArgCount in interface FunCallgetArgs()public Object[] getChildren()
Walkable are ignored.getChildren in class QueryPartCopyright © 2021 Hitachi Vantara. All rights reserved.