Kùzu C++ API
Loading...
Searching...
No Matches
query_summary.h
Go to the documentation of this file.
1#pragma once
2
3#include "api.h"
4#include "kuzu_fwd.h"
5
6namespace kuzu {
7namespace main {
8
16
21 friend class ClientContext;
23
24public:
28 KUZU_API double getCompilingTime() const;
32 KUZU_API double getExecutionTime() const;
33
34 void setPreparedSummary(PreparedSummary preparedSummary_);
35
39 bool isExplain() const;
40
41private:
42 double executionTime = 0;
43 PreparedSummary preparedSummary;
44};
45
46} // namespace main
47} // namespace kuzu
#define KUZU_API
Definition api.h:25
Contain client side configuration. We make profiler associated per query, so profiler is not maintain...
Definition client_context.h:51
QuerySummary stores the execution time, plan, compiling time and query options of a query.
Definition query_summary.h:20
void setPreparedSummary(PreparedSummary preparedSummary_)
friend class benchmark::Benchmark
Definition query_summary.h:22
KUZU_API double getExecutionTime() const
KUZU_API double getCompilingTime() const
StatementType
Definition statement_type.h:8
Definition alter_type.h:5
PreparedSummary stores the compiling time and query options of a query.
Definition query_summary.h:12
double compilingTime
Definition query_summary.h:13
common::StatementType statementType
Definition query_summary.h:14