Interface RolapMemberInCube

    • Method Detail

      • getCube

        RolapCube getCube()
        Returns the cube this cube member belongs to.

        This method is not in the RolapMember interface, because regular members may be shared, and therefore do not belong to a specific cube.

        Returns:
        Cube this cube member belongs to, never null
      • setContextIn

        void setContextIn​(RolapEvaluator evaluator)
        Pushes this calculated member or tuple onto the stack of evaluation contexts, and sets the context to the default member of the hierarchy.
        Parameters:
        evaluator - Evaluator
      • getSolveOrder

        int getSolveOrder()
        Returns the solve order of this calculation. Identifies which order calculations are expanded.
        Returns:
        Solve order
      • getHierarchyOrdinal

        int getHierarchyOrdinal()
        Returns the ordinal of this calculation; to resolve ties.
        Returns:
        Ordinal or calculation
      • isCalculatedInQuery

        boolean isCalculatedInQuery()
        Returns whether this calculation is a member is computed from a WITH MEMBER clause in an MDX query.
        Returns:
        whether this calculation is computed in an MDX query
      • getCompiledExpression

        Calc getCompiledExpression​(mondrian.rolap.RolapEvaluatorRoot root)
        Returns the compiled expression to evaluate the scalar value of the current cell. This method will be called frequently, so the implementation should probably compile once and cache the result.
        Parameters:
        root - Root evaluation context
        Returns:
        Compiled scalar expression
      • containsAggregateFunction

        boolean containsAggregateFunction()
        Returns whether this calculation contains an aggregate function.
        Returns:
        Whether this calculation contains an aggregate function.