|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.olap.QueryPart mondrian.olap.ExpBase mondrian.mdx.DimensionExpr
public class DimensionExpr
Usage of a Dimension
as an MDX expression.
Constructor Summary | |
---|---|
DimensionExpr(Dimension dimension)
Creates a dimension expression. |
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. |
DimensionExpr |
clone()
|
int |
getCategory()
Returns the Category of the expression. |
Dimension |
getDimension()
Returns the dimension. |
Type |
getType()
Returns the type of this expression. |
String |
toString()
|
Methods inherited from class mondrian.olap.ExpBase |
---|
cloneArray, getTypes, unparseList |
Methods inherited from class mondrian.olap.QueryPart |
---|
getChildren, unparse |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface mondrian.olap.Exp |
---|
unparse |
Constructor Detail |
---|
public DimensionExpr(Dimension dimension)
dimension
- DimensionMethod Detail |
---|
public Dimension getDimension()
public String toString()
toString
in class Object
public Type getType()
Exp
getType
in interface Exp
public DimensionExpr clone()
clone
in interface Exp
clone
in class ExpBase
public int getCategory()
Exp
Category
of the expression.
getCategory
in interface Exp
public Exp accept(Validator validator)
Exp
accept
in interface Exp
validator
- Validator contains validation context
public Calc accept(ExpCompiler compiler)
Exp
accept
in interface Exp
accept
in class ExpBase
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 |