Class SqlStatementExecuteEvent

  • All Implemented Interfaces:
    Message

    public class SqlStatementExecuteEvent
    extends SqlStatementEvent
    Event created just after Mondrian has executed a SQL statement.
    • Field Detail

      • executeNanos

        public final long executeNanos
    • Constructor Detail

      • SqlStatementExecuteEvent

        public SqlStatementExecuteEvent​(long timestamp,
                                        long statementId,
                                        Locus locus,
                                        String sql,
                                        SqlStatementEvent.Purpose purpose,
                                        long executeNanos)
        Creates a SqlStatementExecuteEvent.
        Parameters:
        timestamp - Timestamp
        statementId - Statement id
        locus - Locus of event
        sql - SQL
        purpose - Why Mondrian is executing this statement
        executeNanos - Execution time
    • 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