mondrian.olap.fun
Class CrossJoinTest.TestExp

java.lang.Object
  extended by mondrian.olap.fun.CrossJoinTest.TestExp
All Implemented Interfaces:
Exp
Enclosing class:
CrossJoinTest

public static class CrossJoinTest.TestExp
extends java.lang.Object
implements Exp


Field Summary
(package private)  Type type
           
 
Constructor Summary
CrossJoinTest.TestExp()
           
 
Method Summary
 Calc accept(ExpCompiler compiler)
          Converts this expression into an a tree of expressions which can be efficiently evaluated.
 java.lang.Object accept(MdxVisitor visitor)
          Accepts a visitor to this Exp.
 Exp accept(Validator validator)
          Validates this expression.
 Exp clone()
           
 int getCategory()
          Returns the Category of the expression.
 Type getType()
          Returns the type of this expression.
 void unparse(java.io.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
 

Field Detail

type

Type type
Constructor Detail

CrossJoinTest.TestExp

CrossJoinTest.TestExp()
Method Detail

clone

public Exp clone()
Specified by:
clone in interface Exp
Overrides:
clone in class java.lang.Object

getCategory

public int getCategory()
Description copied from interface: Exp
Returns the Category of the expression.

Specified by:
getCategory in interface Exp

getType

public Type getType()
Description copied from interface: Exp
Returns the type of this expression. Never null.

Specified by:
getType in interface Exp

unparse

public void unparse(java.io.PrintWriter pw)
Description copied from interface: Exp
Writes the MDX representation of this expression to a print writer. Sub-expressions are invoked recursively.

Specified by:
unparse in interface Exp
Parameters:
pw - PrintWriter

accept

public Exp accept(Validator validator)
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'.

Specified by:
accept in interface Exp
Parameters:
validator - Validator contains validation context
Returns:
The validated expression; often but not always the same as this expression

accept

public Calc accept(ExpCompiler compiler)
Description copied from interface: Exp
Converts this expression into an a tree of expressions which can be efficiently evaluated.

Specified by:
accept in interface Exp
Returns:
A compiled expression

accept

public java.lang.Object accept(MdxVisitor visitor)
Description copied from interface: Exp
Accepts a visitor to this Exp. The implementation should generally dispatches to the MdxVisitor.visit(mondrian.olap.Query) method appropriate to the type of expression.

Specified by:
accept in interface Exp
Parameters:
visitor - Visitor

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads