Package mondrian.olap

Class ExpCacheDescriptor

    • Constructor Detail

      • ExpCacheDescriptor

        public ExpCacheDescriptor​(Exp exp,
                                  Calc calc,
                                  Evaluator evaluator)
        Creates a descriptor with a given compiled expression.
        Parameters:
        exp - Expression
        calc - Compiled expression
        evaluator - Evaluator
      • ExpCacheDescriptor

        public ExpCacheDescriptor​(Exp exp,
                                  Evaluator evaluator)
        Creates a descriptor.
        Parameters:
        exp - Expression
        evaluator - Evaluator
      • ExpCacheDescriptor

        public ExpCacheDescriptor​(Exp exp,
                                  ExpCompiler compiler)
        Creates a descriptor.
        Parameters:
        exp - Expression
        compiler - Compiler
    • Method Detail

      • getExp

        public Exp getExp()
      • getCalc

        public Calc getCalc()
      • getDependentHierarchyOrdinals

        public int[] getDependentHierarchyOrdinals()
        Returns the ordinals of the hierarchies which this expression is dependent upon. When the cache descriptor is used to generate a cache key, the key will consist of a member from each of these hierarchies.