"<th>RS rows read</th>" +
"<th>Query</th>" +
"<th>Stack trace</th>" +
"</tr>\n");
for(QueryDebuggingInfo queryDebuggingInfo: queryDebuggingInfos) {
DebuggerResultSetData resultSetData = queryDebuggingInfo.getSqlQueryDebuggerResultSetData();
htmlSB.append("<tr>\n");
htmlSB.append("<td>");
htmlSB.append(queryDebuggingInfo.getQueryType());
htmlSB.append("</td>\n");
htmlSB.append("<td>");
htmlSB.append(queryDebuggingInfo.getThreadName());
htmlSB.append("</td>\n");
htmlSB.append("<td>");
htmlSB.append(queryDebuggingInfo.getThreadId());
htmlSB.append("</td>\n");
htmlSB.append("<td>");
htmlSB.append(TIMESTAMP_FORMAT.format(new Date(queryDebuggingInfo.getTimestamp())));
htmlSB.append("</td>\n");
htmlSB.append("<td>");
htmlSB.append(queryDebuggingInfo.getExecutionDuration());
htmlSB.append("</td>\n");
htmlSB.append("<td>");
htmlSB.append(resultSetData == null? "": resultSetData.getLifeTime());
htmlSB.append("</td>\n");
htmlSB.append("<td>");
htmlSB.append(resultSetData == null? "": resultSetData.getReadCount());
htmlSB.append("</td>\n");
// htmlSB.append("<td>");
// htmlSB.append(resultSetData == null? "": resultSetData.getWriteCount());
// htmlSB.append("</td>\n");
htmlSB.append("<td>");
htmlSB.append(resultSetData == null? "": resultSetData.getReadRows());
htmlSB.append("</td>\n");
htmlSB.append("<td>");
String[] queries = queryDebuggingInfo.getQueries();
for(int i=0; i<queries.length; i++) {
String query = queries[i];