| Package | Description | 
|---|---|
| mondrian.calc | Provides compiled expressions. | 
| mondrian.calc.impl | Provides implementation classes for compiled expressions. | 
| mondrian.mdx | Defines a parse tree for MDX expressions. | 
| mondrian.olap | Mondrian's core package, this defines connections and the catalog metamodel, 
and allows you to execute queries. | 
| mondrian.olap.fun | Defines the set of MDX built-in functions. | 
| mondrian.olap.fun.extra | Defines MDX extension functions. | 
| mondrian.olap.fun.sort | |
| mondrian.rolap | Implements the data access layer for the olap package. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | BooleanCalcCompiled expression whose result is a  boolean. | 
| interface  | DateTimeCalcCompiled expression whose result is a  Date, representing an MDX
 DateTime value. | 
| interface  | DimensionCalcExpression which yields a  Dimension. | 
| interface  | DoubleCalcCompiled expression whose result is a  double. | 
| interface  | HierarchyCalcExpression which yields a  Hierarchy. | 
| interface  | IntegerCalcCompiled expression whose result is an  int. | 
| interface  | IterCalcExpression that evaluates a set of tuples to a  TupleIterable. | 
| interface  | LevelCalcExpression which yields a  Level. | 
| interface  | ListCalcExpression which evaluates a set of members or tuples to a list. | 
| interface  | MemberCalcExpression which yields a  Member. | 
| interface  | StringCalcCompiled expression whose result is a  String. | 
| interface  | TupleCalcExpression which yields a tuple. | 
| interface  | VoidCalcExpression which has a void result. | 
| Modifier and Type | Method and Description | 
|---|---|
| Calc | DummyExp. accept(ExpCompiler compiler) | 
| Calc | ExpCompiler. compile(Exp exp)Compiles an expression. | 
| Calc | ParameterCompilable. compile(ExpCompiler compiler) | 
| Calc | ExpCompiler. compileAs(Exp exp,
         Type resultType,
         List<ResultStyle> preferredResultStyles)Compiles an expression to a given result type. | 
| Calc | ExpCompiler. compileScalar(Exp exp,
             boolean specific)Compiles an expression to yield a scalar result. | 
| Calc | ParameterSlot. getDefaultValueCalc()Returns a compiled expression to compute the default value of the
 parameter. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | CalcWriter. setParentArgs(Calc calc,
             Map<String,Object> argumentMap) | 
| void | CalcWriter. visitCalc(Calc calc,
         String name,
         Map<String,Object> arguments,
         Calc[] childCalcs) | 
| void | CalcWriter. visitCalc(Calc calc,
         String name,
         Map<String,Object> arguments,
         Calc[] childCalcs) | 
| void | CalcWriter. visitChild(int ordinal,
          Calc calc) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractBooleanCalcAbstract implementation of the  BooleanCalcinterface. | 
| class  | AbstractCalcAbstract implementation of the  Calcinterface. | 
| class  | AbstractDateTimeCalcAbstract implementation of the  DateTimeCalcinterface. | 
| class  | AbstractDimensionCalcAbstract implementation of the  DimensionCalcinterface. | 
| class  | AbstractDoubleCalcAbstract implementation of the  DoubleCalcinterface. | 
| class  | AbstractHierarchyCalcAbstract implementation of the  HierarchyCalcinterface. | 
| class  | AbstractIntegerCalcAbstract implementation of the  IntegerCalcinterface. | 
| class  | AbstractIterCalcAbstract implementation of the  IterCalcinterface. | 
| class  | AbstractLevelCalcAbstract implementation of the  LevelCalcinterface. | 
| class  | AbstractListCalcAbstract implementation of the  ListCalcinterface. | 
| class  | AbstractMemberCalcAbstract implementation of the  MemberCalcinterface. | 
| class  | AbstractStringCalcAbstract implementation of the  StringCalcinterface. | 
| class  | AbstractTupleCalcAbstract implementation of the  TupleCalcinterface. | 
| class  | AbstractVoidCalcAbstract implementation of the  VoidCalcinterface. | 
| class  | CacheCalcCalculation which retrieves the value of an underlying calculation
 from cache. | 
| class  | ConstantCalcCalculator which always returns the same value. | 
| class  | GenericCalcAdapter which computes a scalar or tuple expression and converts it to any
 required type. | 
| class  | GenericIterCalcAdapter which computes a set expression and converts it to any list or
 iterable type. | 
| class  | IterableListCalc | 
| class  | MemberArrayValueCalcExpression which evaluates a few member expressions,
 sets the dimensional context to the result of those expressions,
 then yields the value of the current measure in the current
 dimensional context. | 
| class  | MemberValueCalcExpression which evaluates a few member expressions,
 sets the dimensional context to the result of those expressions,
 then yields the value of the current measure in the current
 dimensional context. | 
| class  | TupleValueCalcExpression which evaluates a tuple expression,
 sets the dimensional context to the result of that expression,
 then yields the value of the current measure in the current
 dimensional context. | 
| class  | ValueCalcExpression which yields the value of the current member in the current
 dimensional context. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Calc | DelegatingExpCompiler. afterCompile(Exp exp,
            Calc calc,
            boolean mutable)Hook for post-processing. | 
| Calc | AbstractExpCompiler. compile(Exp exp)Compiles an expression. | 
| Calc | DelegatingExpCompiler. compile(Exp exp) | 
| Calc | AbstractExpCompiler. compileAs(Exp exp,
         Type resultType,
         List<ResultStyle> preferredResultTypes)Compiles an expression to a given result type. | 
| Calc | DelegatingExpCompiler. compileAs(Exp exp,
         Type resultType,
         List<ResultStyle> preferredResultTypes) | 
| Calc | AbstractExpCompiler. compileScalar(Exp exp,
             boolean specific) | 
| Calc | DelegatingExpCompiler. compileScalar(Exp exp,
             boolean scalar) | 
| static Calc | ConstantCalc. constantDimension(Dimension dimension)Creates an expression which evaluates to a given dimension. | 
| static Calc | ConstantCalc. constantHierarchy(Hierarchy hierarchy)Creates an expression which evaluates to a given hierarchy. | 
| static Calc | ConstantCalc. constantLevel(Level level)Creates an expression which evaluates to a given level. | 
| static Calc | ConstantCalc. constantMember(Member member)Creates an expression which evaluates to a given member. | 
| Calc[] | CacheCalc. getCalcs() | 
| Calc[] | TupleValueCalc. getCalcs() | 
| Calc[] | AbstractVoidCalc. getCalcs() | 
| Calc[] | MemberValueCalc. getCalcs() | 
| Calc[] | MemberArrayValueCalc. getCalcs() | 
| Calc[] | ConstantCalc. getCalcs() | 
| Calc[] | AbstractCalc. getCalcs()Returns this expression's child expressions. | 
| Calc | TupleValueCalc. optimize()Optimizes the scalar evaluation of a tuple. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Calc | DelegatingExpCompiler. afterCompile(Exp exp,
            Calc calc,
            boolean mutable)Hook for post-processing. | 
| static boolean | AbstractCalc. anyDepends(Calc[] calcs,
          Hierarchy hierarchy)Returns true if one of the calcs depends on the given dimension. | 
| static boolean | AbstractCalc. anyDependsButFirst(Calc[] calcs,
                  Hierarchy hierarchy)Returns true if calc[0] depends on dimension, else false if calc[0] returns dimension, else true if any of the
 other calcs depend on dimension. | 
| static boolean | AbstractCalc. butDepends(Calc[] calcs,
          Hierarchy hierarchy)Returns true if any of the calcs depend on dimension, else false if any of the calcs return dimension, else true. | 
| static Evaluator | AbstractCalc. simplifyEvaluator(Calc calc,
                 Evaluator evaluator)Returns a simplified evalator whose context is the same for every dimension which an expression depends on, and the
 default member for every dimension which it does not depend on. | 
| Constructor and Description | 
|---|
| AbstractBooleanCalc(Exp exp,
                   Calc[] calcs)Creates an AbstractBooleanCalc. | 
| AbstractCalc(Exp exp,
            Calc[] calcs)Creates an AbstractCalc. | 
| AbstractDateTimeCalc(Exp exp,
                    Calc[] calcs)Creates an AbstractDateTimeCalc. | 
| AbstractDimensionCalc(Exp exp,
                     Calc[] calcs)Creates an AbstractDimensionCalc. | 
| AbstractDoubleCalc(Exp exp,
                  Calc[] calcs)Creates an AbstractDoubleCalc. | 
| AbstractHierarchyCalc(Exp exp,
                     Calc[] calcs)Creates an AbstractHierarchyCalc. | 
| AbstractIntegerCalc(Exp exp,
                   Calc[] calcs)Creates an AbstractIntegerCalc. | 
| AbstractIterCalc(Exp exp,
                Calc[] calcs)Creates an abstract implementation of a compiled expression which returns
 a  TupleIterable. | 
| AbstractLevelCalc(Exp exp,
                 Calc[] calcs)Creates an AbstractLevelCalc. | 
| AbstractListCalc(Exp exp,
                Calc[] calcs)Creates an abstract implementation of a compiled expression which returns a mutable list of tuples. | 
| AbstractListCalc(Exp exp,
                Calc[] calcs,
                boolean mutable)Creates an abstract implementation of a compiled expression which returns a list. | 
| AbstractMemberCalc(Exp exp,
                  Calc[] calcs)Creates an AbstractMemberCalc. | 
| AbstractStringCalc(Exp exp,
                  Calc[] calcs)Creates an AbstractStringCalc. | 
| AbstractTupleCalc(Exp exp,
                 Calc[] calcs)Creates an AbstractTupleCalc. | 
| AbstractVoidCalc(Exp exp,
                Calc[] calcs) | 
| GenericCalc(Exp exp,
           Calc[] calcs)Creates an GenericCalc. | 
| GenericIterCalc(Exp exp,
               Calc[] calcs)Creates an GenericIterCalc. | 
| Modifier and Type | Method and Description | 
|---|---|
| Calc | LevelExpr. accept(ExpCompiler compiler) | 
| Calc | ParameterExpr. accept(ExpCompiler compiler) | 
| Calc | DimensionExpr. accept(ExpCompiler compiler) | 
| Calc | MemberExpr. accept(ExpCompiler compiler) | 
| Calc | NamedSetExpr. accept(ExpCompiler compiler) | 
| Calc | UnresolvedFunCall. accept(ExpCompiler compiler) | 
| Calc | ResolvedFunCall. accept(ExpCompiler compiler) | 
| Calc | HierarchyExpr. accept(ExpCompiler compiler) | 
| Modifier and Type | Field and Description | 
|---|---|
| Calc[] | Query. axisCalcs | 
| Calc | Query. slicerCalc | 
| Modifier and Type | Method and Description | 
|---|---|
| Calc | Literal. accept(ExpCompiler compiler) | 
| Calc | Exp. accept(ExpCompiler compiler)Converts this expression into an a tree of expressions which can be
 efficiently evaluated. | 
| Calc | ExpBase. accept(ExpCompiler compiler) | 
| Calc | ParameterImpl. compile(ExpCompiler compiler) | 
| Calc | QueryAxis. compile(ExpCompiler compiler,
       ResultStyle resultStyle) | 
| Calc | FunDef. compileCall(ResolvedFunCall call,
           ExpCompiler compiler)Converts a call to this function into executable objects. | 
| Calc | Query. compileExpression(Exp exp,
                 boolean scalar,
                 ResultStyle resultStyle)Compiles an expression, using a cached compiled expression if available. | 
| Calc | ExpCacheDescriptor. getCalc() | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | Aggregator. aggregate(Evaluator evaluator,
         TupleList members,
         Calc calc)Applies this aggregator to an expression over a set of members and
 returns the result. | 
| static void | Util. explain(ProfileHandler handler,
       String title,
       Calc calc,
       QueryTiming timing)Called during major steps of executing a MDX query to provide insight into Calc calls/times
 and key function calls/times. | 
| NativeEvaluator | SchemaReader. getNativeSetEvaluator(FunDef fun,
                     Exp[] args,
                     Evaluator evaluator,
                     Calc calc)Returns an object which can evaluate an expression in native SQL, or
 null if this is not possible. | 
| NativeEvaluator | DelegatingSchemaReader. getNativeSetEvaluator(FunDef fun,
                     Exp[] args,
                     Evaluator evaluator,
                     Calc calc) | 
| Constructor and Description | 
|---|
| ExpCacheDescriptor(Exp exp,
                  Calc calc,
                  Evaluator evaluator)Creates a descriptor with a given compiled expression. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | AggregateFunDef.AggregateCalc | 
| static class  | HierarchyCurrentMemberFunDef.CalcImplCompiled implementation of the Hierarchy.CurrentMember function that evaluates the hierarchy expression first. | 
| static class  | HierarchyCurrentMemberFunDef.FixedCalcImplCompiled implementation of the Hierarchy.CurrentMember function that uses a fixed hierarchy. | 
| static class  | HierarchyDimensionFunDef.CalcImpl | 
| static class  | LevelHierarchyFunDef.CalcImpl | 
| static class  | MemberHierarchyFunDef.CalcImpl | 
| static class  | MemberLevelFunDef.CalcImpl | 
| static class  | MemberOrderKeyFunDef.CalcImpl | 
| static class  | NativizeSetFunDef.NativeListCalc | 
| static class  | SetFunDef.ExprIterCalcCompiled expression that evaluates one or more expressions, each of which
 yields a tuple or a set of tuples, and returns the result as a tuple
 iterator. | 
| static class  | SetFunDef.SetListCalcCompiled expression to implement the MDX set function,  { ... | 
| static class  | TupleFunDef.CalcImpl | 
| Modifier and Type | Method and Description | 
|---|---|
| static Object | AggregateFunDef.AggregateCalc. aggregate(Calc calc,
         Evaluator evaluator,
         TupleList tupleList)Computes an expression for each element of a list, and aggregates
 the result according to the evaluation context's current aggregation
 strategy. | 
| static Object | FunUtil. avg(Evaluator evaluator,
   TupleList members,
   Calc calc) | 
| static void | FunUtil. checkIterListResultStyles(Calc calc) | 
| static void | FunUtil. checkListResultStyles(Calc calc) | 
| static Object | FunUtil. max(Evaluator evaluator,
   TupleList members,
   Calc exp) | 
| static Object | FunUtil. min(Evaluator evaluator,
   TupleList members,
   Calc calc) | 
| protected static double | FunUtil. quartile(Evaluator evaluator,
        TupleList members,
        Calc exp,
        int range)Returns the member which lies upon a particular quartile according to a given expression. | 
| static Object | FunUtil. sum(Evaluator evaluator,
   TupleList members,
   Calc exp) | 
| static double | FunUtil. sumDouble(Evaluator evaluator,
         TupleIterable iterable,
         Calc exp) | 
| static double | FunUtil. sumDouble(Evaluator evaluator,
         TupleList members,
         Calc exp) | 
| Constructor and Description | 
|---|
| AggregateCalc(Exp exp,
             ListCalc listCalc,
             Calc calc) | 
| AggregateCalc(Exp exp,
             ListCalc listCalc,
             Calc calc,
             Member member) | 
| NativeListCalc(ResolvedFunCall call,
              Calc[] calcs,
              ExpCompiler compiler,
              mondrian.olap.fun.NativizeSetFunDef.SubstitutionMap substitutionMap,
              Exp originalExp) | 
| Modifier and Type | Method and Description | 
|---|---|
| Calc | NthQuartileFunDef. compileCall(ResolvedFunCall call,
           ExpCompiler compiler) | 
| Calc | CalculatedChildFunDef. compileCall(ResolvedFunCall call,
           ExpCompiler compiler) | 
| Calc | CachedExistsFunDef. compileCall(ResolvedFunCall call,
           ExpCompiler compiler) | 
| Modifier and Type | Method and Description | 
|---|---|
| Calc | SortKeySpec. getKey() | 
| Modifier and Type | Method and Description | 
|---|---|
| static Map<List<Member>,Object> | Sorter. evaluateTuples(Evaluator evaluator,
              Calc exp,
              TupleList tuples)For each tuple in a list, evaluates an expression and creates a map from tuples to values. | 
| static List<Member> | Sorter. partiallySortMembers(Evaluator evaluator,
                    List<Member> list,
                    Calc exp,
                    int limit,
                    boolean desc)Partially sorts a list of Members by the value of an applied expression. | 
| static List<List<Member>> | Sorter. partiallySortTuples(Evaluator evaluator,
                   TupleList list,
                   Calc exp,
                   int limit,
                   boolean desc)Partially sorts a list of Tuples by the value of an applied expression. | 
| static List<Member> | Sorter. sortMembers(Evaluator evaluator,
           Iterable<Member> memberIter,
           List<Member> memberList,
           Calc exp,
           boolean desc,
           boolean brk)Helper function to sort a list of members according to an expression. | 
| static TupleList | Sorter. sortTuples(Evaluator evaluator,
          TupleIterable tupleIterable,
          TupleList tupleList,
          Calc exp,
          boolean desc,
          boolean brk,
          int arity)Sorts a list of Tuples by the value of an applied expression. | 
| Constructor and Description | 
|---|
| SortKeySpec(Calc key,
           Sorter.Flag dir) | 
| Modifier and Type | Method and Description | 
|---|---|
| Calc | RolapSchemaParameter. compile(ExpCompiler compiler) | 
| Calc | RolapMemberBase. getCompiledExpression(mondrian.rolap.RolapEvaluatorRoot root) | 
| Calc | RolapResult.CompoundSlicerRolapMember. getCompiledExpression(mondrian.rolap.RolapEvaluatorRoot root) | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | RolapAggregator.BaseAggor. aggregate(Evaluator evaluator,
         TupleList members,
         Calc exp) | 
| Object | RolapDependencyTestingEvaluator. evaluate(Calc calc,
        Hierarchy[] independentHierarchies,
        String mdxString) | 
| NativeEvaluator | RolapSchemaReader. getNativeSetEvaluator(FunDef fun,
                     Exp[] args,
                     Evaluator evaluator,
                     Calc calc) | 
| protected void | RolapResult. loadMembers(List<List<Member>> nonAllMembers,
           RolapEvaluator evaluator,
           QueryAxis axis,
           Calc calc,
           mondrian.rolap.RolapResult.AxisMemberList axisMembers) | 
| Constructor and Description | 
|---|
| CompoundSlicerRolapMember(RolapMember placeholderMember,
                         Calc calc,
                         mondrian.rolap.RolapResult.ValueFormatter formatter,
                         TupleList tupleList) | 
Copyright © 2021 Hitachi Vantara. All rights reserved.