Constructor and Description |
---|
DimensionExpr(Dimension dimension)
Creates a dimension expression.
|
Modifier and Type | Method and Description |
---|---|
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() |
cloneArray, getTypes, unparseList
explain, getChildren, unparse
public DimensionExpr(Dimension dimension)
dimension
- Dimensionpublic Dimension getDimension()
public Type getType()
Exp
public DimensionExpr clone()
public int getCategory()
Exp
Category
of the expression.getCategory
in interface Exp
public Exp accept(Validator validator)
Exp
public Calc accept(ExpCompiler compiler)
Exp
public Object accept(MdxVisitor visitor)
Exp
MdxVisitor.visit(mondrian.olap.Query)
method appropriate to the type of expression.Copyright © 2018 Hitachi Vantara. All rights reserved.