Package mondrian.olap
Class ExpBase
- java.lang.Object
-
- mondrian.olap.QueryPart
-
- mondrian.olap.ExpBase
-
- All Implemented Interfaces:
Exp
- Direct Known Subclasses:
DimensionExpr
,HierarchyExpr
,Id
,LevelExpr
,Literal
,MemberExpr
,NamedSetExpr
,ParameterExpr
,ResolvedFunCall
,UnresolvedFunCall
public abstract class ExpBase extends QueryPart implements Exp
Skeleton implementation ofExp
interface.- Author:
- jhyde, 20 January, 1999
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ExpBase()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Calc
accept(ExpCompiler compiler)
Converts this expression into an a tree of expressions which can be efficiently evaluated.abstract Exp
clone()
protected static Exp[]
cloneArray(Exp[] a)
static int[]
getTypes(Exp[] exps)
static void
unparseList(PrintWriter pw, Exp[] exps, String start, String mid, String end)
-
Methods inherited from class mondrian.olap.QueryPart
explain, getChildren, unparse
-
-
-
-
Method Detail
-
clone
public abstract Exp clone()
-
unparseList
public static void unparseList(PrintWriter pw, Exp[] exps, String start, String mid, String end)
-
getTypes
public static int[] getTypes(Exp[] exps)
-
accept
public Calc accept(ExpCompiler compiler)
Description copied from interface:Exp
Converts this expression into an a tree of expressions which can be efficiently evaluated.
-
-