Class ExecutionPhaseEvent

  • All Implemented Interfaces:
    Message

    public class ExecutionPhaseEvent
    extends ExecutionEvent
    Event signalling the start of a phase of executing an MDX statement.

    A phase begins when Mondrian has tried to execute a statement and has determined that it needs cell values in order to give the complete, correct result. It generates one or more SQL statements to load those cells, and starts a new phase. Most MDX statements can be completed in 3 or fewer phases.

    • Field Detail

      • phase

        public final int phase
      • hitCount

        public final int hitCount
      • missCount

        public final int missCount
      • pendingCount

        public final int pendingCount
    • Constructor Detail

      • ExecutionPhaseEvent

        public ExecutionPhaseEvent​(long timestamp,
                                   int serverId,
                                   int connectionId,
                                   long statementId,
                                   long executionId,
                                   int phase,
                                   int hitCount,
                                   int missCount,
                                   int pendingCount)
        Creates an ExecutionPhaseEvent.
        Parameters:
        timestamp - Timestamp
        serverId - Server id
        connectionId - Connection id
        statementId - Statement id
        executionId - Execution id
        phase - Phase
        hitCount - Cache hits this phase
        missCount - Cache misses this phase
        pendingCount - Cache entries hit but not ready this phase
    • Method Detail

      • accept

        public <T> T accept​(Visitor<T> visitor)
        Description copied from interface: Message
        Dispatches a call to the appropriate visit method on Visitor.
        Type Parameters:
        T - Return type
        Parameters:
        visitor - Visitor
        Returns:
        Value returned by the visit method