|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.olap.QueryPart
mondrian.olap.ExpBase
mondrian.mdx.HierarchyExpr
public class HierarchyExpr
Usage of a Hierarchy as an MDX expression.
| Constructor Summary | |
|---|---|
HierarchyExpr(Hierarchy hierarchy)
Creates a hierarchy 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. |
HierarchyExpr |
clone()
|
int |
getCategory()
Returns the Category of the expression. |
Hierarchy |
getHierarchy()
Returns the hierarchy. |
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 |
|---|
explain, 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 HierarchyExpr(Hierarchy hierarchy)
hierarchy - Hierarchy| Method Detail |
|---|
public Hierarchy getHierarchy()
public String toString()
toString in class Objectpublic Type getType()
Exp
getType in interface Exppublic HierarchyExpr clone()
clone in interface Expclone in class ExpBasepublic int getCategory()
ExpCategory of the expression.
getCategory in interface Exppublic Exp accept(Validator validator)
Exp
accept in interface Expvalidator - Validator contains validation context
public Calc accept(ExpCompiler compiler)
Exp
accept in interface Expaccept in class ExpBasepublic Object accept(MdxVisitor visitor)
ExpMdxVisitor.visit(mondrian.olap.Query) method appropriate to the type of expression.
accept in interface Expvisitor - Visitor
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||