|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.calc.DummyExp
public class DummyExp
Dummy expression which exists only to wrap a
Type
.
Constructor Summary | |
---|---|
DummyExp(Type type)
|
Method Summary | |
---|---|
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. |
DummyExp |
clone()
|
int |
getCategory()
Returns the Category of the expression. |
Type |
getType()
Returns the type of this expression. |
void |
unparse(PrintWriter pw)
Writes the MDX representation of this expression to a print writer. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DummyExp(Type type)
Method Detail |
---|
public DummyExp clone()
clone
in interface Exp
clone
in class Object
public int getCategory()
Exp
Category
of the expression.
getCategory
in interface Exp
public Type getType()
Exp
getType
in interface Exp
public void unparse(PrintWriter pw)
Exp
unparse
in interface Exp
pw
- PrintWriterpublic Exp accept(Validator validator)
Exp
accept
in interface Exp
validator
- Validator contains validation context
public Calc accept(ExpCompiler compiler)
Exp
accept
in interface Exp
public Object accept(MdxVisitor visitor)
Exp
MdxVisitor.visit(mondrian.olap.Query)
method appropriate to the type of expression.
accept
in interface Exp
visitor
- Visitor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |