QuerySummary stores the execution time, plan, compiling time and query options of a query.
More...
#include <query_summary.h>
QuerySummary stores the execution time, plan, compiling time and query options of a query.
◆ QuerySummary() [1/2]
| lbug::main::QuerySummary::QuerySummary |
( |
| ) |
|
|
default |
◆ QuerySummary() [2/2]
| lbug::main::QuerySummary::QuerySummary |
( |
const PreparedSummary & | preparedSummary | ) |
|
|
inlineexplicit |
◆ getCompilingTime()
| LBUG_API double lbug::main::QuerySummary::getCompilingTime |
( |
| ) |
const |
- Returns
- query compiling time in milliseconds.
◆ getExecutionTime()
| LBUG_API double lbug::main::QuerySummary::getExecutionTime |
( |
| ) |
const |
- Returns
- query execution time in milliseconds.
◆ getStatementType()
| common::StatementType lbug::main::QuerySummary::getStatementType |
( |
| ) |
const |
- Returns
- the statement type of the query.
◆ incrementCompilingTime()
| void lbug::main::QuerySummary::incrementCompilingTime |
( |
double | increment | ) |
|
◆ incrementExecutionTime()
| void lbug::main::QuerySummary::incrementExecutionTime |
( |
double | increment | ) |
|
◆ isExplain()
| bool lbug::main::QuerySummary::isExplain |
( |
| ) |
const |
- Returns
- true if the query is executed with EXPLAIN.
◆ setExecutionTime()
| void lbug::main::QuerySummary::setExecutionTime |
( |
double | time | ) |
|
The documentation for this class was generated from the following file: