Class SqlStatementStartEvent

  • All Implemented Interfaces:
    Message

    public class SqlStatementStartEvent
    extends SqlStatementEvent
    Event created just before Mondrian starts to execute a SQL statement.
    • Field Detail

      • cellRequestCount

        public final int cellRequestCount
    • Constructor Detail

      • SqlStatementStartEvent

        public SqlStatementStartEvent​(long timestamp,
                                      long sqlStatementId,
                                      Locus locus,
                                      String sql,
                                      SqlStatementEvent.Purpose purpose,
                                      int cellRequestCount)
        Creates a SqlStatementStartEvent.
        Parameters:
        timestamp - Timestamp
        sqlStatementId - SQL Statement id
        locus - Locus of event
        sql - SQL
        purpose - Why Mondrian is executing this statement
        cellRequestCount - Number of missed cells that led to this request
    • 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