Class StatementInfo


  • public class StatementInfo
    extends Object
    Information about a statement executed by Mondrian.
    • Field Detail

      • statementId

        public final long statementId
      • executeStartCount

        public final int executeStartCount
      • executeEndCount

        public final int executeEndCount
      • phaseCount

        public final int phaseCount
      • cellCacheRequestCount

        public final long cellCacheRequestCount
      • cellCacheHitCount

        public final long cellCacheHitCount
      • cellCacheMissCount

        public final long cellCacheMissCount
      • cellCachePendingCount

        public final long cellCachePendingCount
      • sqlStatementStartCount

        public final int sqlStatementStartCount
      • sqlStatementExecuteCount

        public final int sqlStatementExecuteCount
      • sqlStatementEndCount

        public final int sqlStatementEndCount
      • sqlStatementRowFetchCount

        public final long sqlStatementRowFetchCount
      • sqlStatementExecuteNanos

        public final long sqlStatementExecuteNanos
      • cellRequestCount

        public final int cellRequestCount
      • stack

        public final String stack
        A printout of the stack trace which represents the code stack when the event was created. Useful for debugging purposes and identifying orphaned connections and statements.
    • Constructor Detail

      • StatementInfo

        public StatementInfo​(String stack,
                             long statementId,
                             int executeStartCount,
                             int executeEndCount,
                             int phaseCount,
                             long cellCacheRequestCount,
                             long cellCacheHitCount,
                             long cellCacheMissCount,
                             long cellCachePendingCount,
                             int sqlStatementStartCount,
                             int sqlStatementExecuteCount,
                             int sqlStatementEndCount,
                             long sqlStatementRowFetchCount,
                             long sqlStatementExecuteNanos,
                             int cellRequestCount)
    • Method Detail

      • getExecuting

        public boolean getExecuting()
        Returns:
        Whether the statement is currently executing.
      • getStatementId

        public long getStatementId()
      • getExecuteStartCount

        public int getExecuteStartCount()
      • getExecuteEndCount

        public int getExecuteEndCount()
      • getPhaseCount

        public int getPhaseCount()
      • getCellCacheRequestCount

        public long getCellCacheRequestCount()
      • getCellCacheHitCount

        public long getCellCacheHitCount()
      • getCellCacheMissCount

        public long getCellCacheMissCount()
      • getCellCachePendingCount

        public long getCellCachePendingCount()
      • getSqlStatementStartCount

        public int getSqlStatementStartCount()
      • getSqlStatementExecuteCount

        public int getSqlStatementExecuteCount()
      • getSqlStatementEndCount

        public int getSqlStatementEndCount()
      • getSqlStatementRowFetchCount

        public long getSqlStatementRowFetchCount()
      • getSqlStatementExecuteNanos

        public long getSqlStatementExecuteNanos()
      • getCellRequestCount

        public int getCellRequestCount()