Package mondrian.calc
Class DummyExp
- java.lang.Object
-
- mondrian.calc.DummyExp
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Calcaccept(ExpCompiler compiler)Converts this expression into an a tree of expressions which can be efficiently evaluated.Objectaccept(MdxVisitor visitor)Accepts a visitor to this Exp.Expaccept(Validator validator)Validates this expression.DummyExpclone()intgetCategory()Returns theCategoryof the expression.TypegetType()Returns the type of this expression.voidunparse(PrintWriter pw)Writes the MDX representation of this expression to a print writer.
-
-
-
Constructor Detail
-
DummyExp
public DummyExp(Type type)
-
-
Method Detail
-
getCategory
public int getCategory()
Description copied from interface:ExpReturns theCategoryof the expression.- Specified by:
getCategoryin interfaceExp
-
getType
public Type getType()
Description copied from interface:ExpReturns the type of this expression. Never null.
-
unparse
public void unparse(PrintWriter pw)
Description copied from interface:ExpWrites the MDX representation of this expression to a print writer. Sub-expressions are invoked recursively.
-
accept
public Exp accept(Validator validator)
Description copied from interface:ExpValidates 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
public Calc accept(ExpCompiler compiler)
Description copied from interface:ExpConverts this expression into an a tree of expressions which can be efficiently evaluated.
-
accept
public Object accept(MdxVisitor visitor)
Description copied from interface:ExpAccepts a visitor to this Exp. The implementation should generally dispatches to theMdxVisitor.visit(mondrian.olap.Query)method appropriate to the type of expression.
-
-