Package dev.morphia.aggregation.stages
Class IndexStats
java.lang.Object
dev.morphia.aggregation.stages.Stage
dev.morphia.aggregation.stages.IndexStats
Returns statistics regarding the use of each index for the collection.
-
Method Summary
-
Method Details
-
indexStats
Creates the new stage. There is nothing to configure as the collection is determined as part of the pipeline execution.- Returns:
- the new stage
- Since:
- 2.2
- MongoDB documentation
- Aggregration Pipeline Stage: $indexStats
- Since server release
- 3.2
-