| Constructor and Description | 
|---|
ParameterExpr(Parameter parameter)
Creates a ParameterExpr. 
 | 
| 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. 
 | 
ParameterExpr | 
clone()  | 
boolean | 
equals(Object other)
Returns whether this parameter is equal to another, based upon name,
 type and value 
 | 
int | 
getCategory()
Returns the  
Category of the expression. | 
Object[] | 
getChildren()
Returns an array of the object's children. 
 | 
Parameter | 
getParameter()
Returns the parameter used by this expression. 
 | 
Type | 
getType()
Returns the type of this expression. 
 | 
int | 
hashCode()  | 
boolean | 
isModifiable()
Returns whether the parameter can be modified. 
 | 
void | 
unparse(PrintWriter pw)
Unparses the definition of this Parameter. 
 | 
cloneArray, getTypes, unparseListpublic ParameterExpr(Parameter parameter)
parameter - Parameterpublic Type getType()
Exppublic int getCategory()
ExpCategory of the expression.public Exp accept(Validator validator)
Expvalidator - Validator contains validation contextpublic Calc accept(ExpCompiler compiler)
Exppublic Object accept(MdxVisitor visitor)
ExpMdxVisitor.visit(mondrian.olap.Query) method appropriate to the type of expression.visitor - Visitorpublic ParameterExpr clone()
public void unparse(PrintWriter pw)
The first usage of a parameter in a query becomes a call to the
 Parameter(paramName, description, defaultValue)
 function, and subsequent usages become calls to
 ParamRef(paramName)
public Object[] getChildren()
Walkable are ignored.getChildren in class QueryPartpublic boolean equals(Object other)
public boolean isModifiable()
public Parameter getParameter()
Copyright © 2017 Hitachi Vantara. All rights reserved.