mondrian.olap
Class ExpBase
java.lang.Object
mondrian.olap.QueryPart
mondrian.olap.ExpBase
- All Implemented Interfaces:
- Exp, Walkable
- Direct Known Subclasses:
- DimensionExpr, HierarchyExpr, Id, LevelExpr, Literal, MemberExpr, NamedSetExpr, ParameterExpr, ResolvedFunCall, UnresolvedFunCall
public abstract class ExpBase
- extends QueryPart
- implements Exp
Skeleton implementation of Exp
interface.
-
-
Constructor Summary |
protected |
ExpBase()
|
ExpBase
protected ExpBase()
cloneArray
protected static Exp[] cloneArray(Exp[] a)
clone
public abstract Exp clone()
- Specified by:
clone
in interface Exp
- Overrides:
clone
in class Object
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.
- Specified by:
accept
in interface Exp
- Returns:
- A compiled expression