Class RolapResult.CompoundSlicerRolapMember

    • Constructor Detail

      • CompoundSlicerRolapMember

        public CompoundSlicerRolapMember​(RolapMember placeholderMember,
                                         Calc calc,
                                         mondrian.rolap.RolapResult.ValueFormatter formatter,
                                         TupleList tupleList)
    • Method Detail

      • isEvaluated

        public boolean isEvaluated()
        Description copied from interface: Member
        Returns whether this member should be evaluated within the Evaluator.

        Normally Member.isCalculated() and Member.isEvaluated() should return the same value, but in situations where mondrian would like to treat the two concepts separately such in role based security, these values may differ.

        Specified by:
        isEvaluated in interface Member
        Overrides:
        isEvaluated in class DelegatingRolapMember
        Returns:
        true if evaluated
      • getSolveOrder

        public int getSolveOrder()
        CompoundSlicerRolapMember is always wrapped inside a CacheCalc. To maximize the benefit of the CacheCalc and the expression cache, the solve order of the CompoundSlicerRolapMember should be lower than all other calculations.
        Specified by:
        getSolveOrder in interface Member
        Overrides:
        getSolveOrder in class DelegatingRolapMember
      • getFormatter

        public mondrian.rolap.RolapResult.ValueFormatter getFormatter()
        Description copied from interface: RolapMeasure
        Returns the object that formats cells of this measure, or null to use default formatting.
        Specified by:
        getFormatter in interface RolapMeasure
        Returns:
        formatter