73 [[nodiscard]]
auto elapsed_time() const -> std::chrono::nanoseconds
89 return execution_time_;
102 return result_count_;
141 return mutation_count_;
167 return warning_count_;
171 std::chrono::nanoseconds elapsed_time_{};
172 std::chrono::nanoseconds execution_time_{};
173 std::uint64_t result_count_{};
174 std::uint64_t result_size_{};
175 std::uint64_t sort_count_{};
176 std::uint64_t mutation_count_{};
177 std::uint64_t error_count_{};
178 std::uint64_t warning_count_{};
Query Metrics contains the query result metrics containing counts and timings.
Definition query_metrics.hxx:33
auto result_size() const -> std::uint64_t
The total number of bytes in the results.
Definition query_metrics.hxx:113
auto result_count() const -> std::uint64_t
The total number of objects in the results.
Definition query_metrics.hxx:100
auto error_count() const -> std::uint64_t
The number of errors that occurred during the request.
Definition query_metrics.hxx:152
auto sort_count() const -> std::uint64_t
The total number of results selected by the engine before restriction through LIMIT clause.
Definition query_metrics.hxx:126
query_metrics(std::chrono::nanoseconds elapsed_time, std::chrono::nanoseconds execution_time, std::uint64_t result_count, std::uint64_t result_size, std::uint64_t sort_count, std::uint64_t mutation_count, std::uint64_t error_count, std::uint64_t warning_count)
Definition query_metrics.hxx:45
auto execution_time() const -> std::chrono::nanoseconds
The time taken for the execution of the request, that is the time from when query execution started u...
Definition query_metrics.hxx:87
auto elapsed_time() const -> std::chrono::nanoseconds
The total time taken for the request, that is the time from when the request was received until the r...
Definition query_metrics.hxx:73
auto warning_count() const -> std::uint64_t
The number of warnings that occurred during the request.
Definition query_metrics.hxx:165
auto mutation_count() const -> std::uint64_t
The number of mutations that were made during the request.
Definition query_metrics.hxx:139
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28