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, unparseList
public UnresolvedFunCall(String name, Exp[] args)
Syntax.Function
syntax.public UnresolvedFunCall clone()
public int getCategory()
Exp
Category
of the expression.getCategory
in interface Exp
public Type getType()
Exp
public void unparse(PrintWriter pw)
QueryPart
public Object accept(MdxVisitor visitor)
Exp
MdxVisitor.visit(mondrian.olap.Query)
method appropriate to the type of expression.public Exp accept(Validator validator)
Exp
public Calc accept(ExpCompiler compiler)
Exp
public String getFunName()
getFunName
in interface FunCall
public Syntax getSyntax()
public Exp getArg(int index)
public Exp[] getArgs()
Note: this does NOT do a copy.
public final int getArgCount()
getArgCount
in interface FunCall
getArgs()
public Object[] getChildren()
Walkable
are ignored.getChildren
in class QueryPart
Copyright © 2018 Hitachi Vantara. All rights reserved.