Class SqlStatementEvent

    • Field Detail

      • sqlStatementId

        public final long sqlStatementId
        Identifier of the statement. Unique for the lifetime of the JVM.
      • locus

        public final Locus locus
        Locus of event. From this you can glean the statement and session.
      • sql

        public final String sql
        SQL text of statement.
    • Constructor Detail

      • SqlStatementEvent

        public SqlStatementEvent​(long timestamp,
                                 long sqlStatementId,
                                 Locus locus,
                                 String sql,
                                 SqlStatementEvent.Purpose purpose)
        Creates a SqlStatementEvent.
        Parameters:
        timestamp - Timestamp
        sqlStatementId - SQL statement id
        locus - Locus of event
        sql - SQL
        purpose - Why Mondrian is executing this statement
    • Method Detail

      • getStatementId

        public long getStatementId()