71 [[nodiscard]]
auto elapsed_time() const -> std::chrono::nanoseconds
87 return execution_time_;
100 return result_count_;
126 return processed_objects_;
152 return warning_count_;
156 std::chrono::nanoseconds elapsed_time_{};
157 std::chrono::nanoseconds execution_time_{};
158 std::uint64_t result_count_{};
159 std::uint64_t result_size_{};
160 std::uint64_t processed_objects_{};
161 std::uint64_t error_count_{};
162 std::uint64_t warning_count_{};
Analytics Metrics contains the query result metrics containing counts and timings.
Definition analytics_metrics.hxx:33
auto result_size() const -> std::uint64_t
The total number of bytes in the results.
Definition analytics_metrics.hxx:111
analytics_metrics(std::chrono::nanoseconds elapsed_time, std::chrono::nanoseconds execution_time, std::uint64_t result_count, std::uint64_t result_size, std::uint64_t processed_objects, std::uint64_t error_count, std::uint64_t warning_count)
Definition analytics_metrics.hxx:45
auto result_count() const -> std::uint64_t
The total number of objects in the results.
Definition analytics_metrics.hxx:98
auto processed_objects() const -> std::uint64_t
The number of processed objects for the request.
Definition analytics_metrics.hxx:124
analytics_metrics()=default
auto error_count() const -> std::uint64_t
The number of errors that occurred during the request.
Definition analytics_metrics.hxx:137
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 analytics_metrics.hxx:85
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 analytics_metrics.hxx:71
auto warning_count() const -> std::uint64_t
The number of warnings that occurred during the request.
Definition analytics_metrics.hxx:150
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28