Package mondrian.calc
Class DummyExp
java.lang.Object
mondrian.calc.DummyExp
- All Implemented Interfaces:
Exp
Dummy expression which exists only to wrap a
Type
.- Since:
- Sep 26, 2005
- Author:
- jhyde
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccept
(ExpCompiler compiler) Converts this expression into an a tree of expressions which can be efficiently evaluated.accept
(MdxVisitor visitor) Accepts a visitor to this Exp.Validates this expression.clone()
int
Returns theCategory
of the expression.getType()
Returns the type of this expression.void
unparse
(PrintWriter pw) Writes the MDX representation of this expression to a print writer.
-
Constructor Details
-
DummyExp
-
-
Method Details
-
clone
-
getCategory
public int getCategory()Description copied from interface:Exp
Returns theCategory
of the expression.- Specified by:
getCategory
in interfaceExp
-
getType
Description copied from interface:Exp
Returns the type of this expression. Never null. -
unparse
Description copied from interface:Exp
Writes the MDX representation of this expression to a print writer. Sub-expressions are invoked recursively. -
accept
Description copied from interface:Exp
Validates this expression. The validator acts in the role of 'visitor' (see Gang of Four 'visitor pattern'), and an expression in the role of 'visitee'. -
accept
Description copied from interface:Exp
Converts this expression into an a tree of expressions which can be efficiently evaluated. -
accept
Description copied from interface:Exp
Accepts a visitor to this Exp. The implementation should generally dispatches to theMdxVisitor.visit(mondrian.olap.Query)
method appropriate to the type of expression.
-