Package mondrian.mdx
Class NamedSetExpr
java.lang.Object
mondrian.olap.QueryPart
mondrian.olap.ExpBase
mondrian.mdx.NamedSetExpr
- All Implemented Interfaces:
Exp
Usage of a
NamedSet in an MDX expression.- Since:
- Sep 26, 2005
- Author:
- jhyde
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept(ExpCompiler compiler) Converts this expression into an a tree of expressions which can be efficiently evaluated.accept(MdxVisitor visitor) Accepts a visitor to this Exp.Validates this expression.clone()intReturns theCategoryof the expression.Returns the named set.getType()Returns the type of this expression.toString()Methods inherited from class mondrian.olap.ExpBase
cloneArray, getTypes, unparseListMethods inherited from class mondrian.olap.QueryPart
explain, getChildren, unparse
-
Constructor Details
-
NamedSetExpr
Creates a usage of a named set.- Parameters:
namedSet- namedSet
-
-
Method Details
-
getNamedSet
Returns the named set. -
toString
-
clone
-
getCategory
public int getCategory()Description copied from interface:ExpReturns theCategoryof the expression.- Specified by:
getCategoryin interfaceExp
-
accept
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
Description copied from interface:ExpConverts this expression into an a tree of expressions which can be efficiently evaluated. -
getEval
-
accept
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. -
getType
Description copied from interface:ExpReturns the type of this expression. Never null.
-