Package mondrian.olap

Class 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 of Exp interface.
Author:
jhyde, 20 January, 1999
  • Constructor Details

    • ExpBase

      protected ExpBase()
  • Method Details

    • 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