Package mondrian.mdx
Class NamedSetExpr
- java.lang.Object
-
- mondrian.olap.QueryPart
-
- mondrian.olap.ExpBase
-
- mondrian.mdx.NamedSetExpr
-
-
Constructor Summary
Constructors Constructor Description NamedSetExpr(NamedSet namedSet)Creates a usage of a named set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Calcaccept(ExpCompiler compiler)Converts this expression into an a tree of expressions which can be efficiently evaluated.Objectaccept(MdxVisitor visitor)Accepts a visitor to this Exp.Expaccept(Validator validator)Validates this expression.NamedSetExprclone()intgetCategory()Returns theCategoryof the expression.Evaluator.NamedSetEvaluatorgetEval(Evaluator evaluator)NamedSetgetNamedSet()Returns the named set.TypegetType()Returns the type of this expression.StringtoString()-
Methods inherited from class mondrian.olap.ExpBase
cloneArray, getTypes, unparseList
-
Methods inherited from class mondrian.olap.QueryPart
explain, getChildren, unparse
-
-
-
-
Constructor Detail
-
NamedSetExpr
public NamedSetExpr(NamedSet namedSet)
Creates a usage of a named set.- Parameters:
namedSet- namedSet
-
-
Method Detail
-
getNamedSet
public NamedSet getNamedSet()
Returns the named set.
-
clone
public NamedSetExpr clone()
-
getCategory
public int getCategory()
Description copied from interface:ExpReturns theCategoryof the expression.- Specified by:
getCategoryin interfaceExp
-
accept
public Exp accept(Validator validator)
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
public Calc accept(ExpCompiler compiler)
Description copied from interface:ExpConverts this expression into an a tree of expressions which can be efficiently evaluated.
-
getEval
public Evaluator.NamedSetEvaluator getEval(Evaluator evaluator)
-
accept
public Object accept(MdxVisitor visitor)
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.
-
-