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()
|
Method Summary |
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(java.io.PrintWriter pw,
Exp[] exps,
java.lang.String start,
java.lang.String mid,
java.lang.String end)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 java.lang.Object
unparseList
public static void unparseList(java.io.PrintWriter pw,
Exp[] exps,
java.lang.String start,
java.lang.String mid,
java.lang.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