Interface SearchStatisticsSnapshot
- All Superinterfaces:
JsonSerialization, SearchStatistics
- All Known Implementing Classes:
SearchStatisticsSnapshotImpl
A snapshot of
SearchStatistics.- Since:
- 12.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault CompletionStage<SearchStatisticsSnapshot> merge(SearchStatisticsSnapshot other) Merge with anotherSearchStatisticsSnapshotMethods inherited from interface JsonSerialization
toJson
-
Method Details
-
getQueryStatistics
QueryStatisticsSnapshot getQueryStatistics()- Specified by:
getQueryStatisticsin interfaceSearchStatistics- Returns:
QueryStatistics
-
getIndexStatistics
IndexStatisticsSnapshot getIndexStatistics()- Specified by:
getIndexStatisticsin interfaceSearchStatistics- Returns:
IndexStatistics
-
computeSnapshot
- Specified by:
computeSnapshotin interfaceSearchStatistics- Returns:
- A snapshot of self.
-
merge
Merge with anotherSearchStatisticsSnapshot- Returns:
- self.
-