Package dev.morphia.aggregation.stages
Class IndexStats
- java.lang.Object
-
- dev.morphia.aggregation.stages.Stage
-
- dev.morphia.aggregation.stages.IndexStats
-
public class IndexStats extends Stage
Returns statistics regarding the use of each index for the collection.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IndexStats()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static IndexStats
indexStats()
Creates the new stage.static IndexStats
of()
Deprecated, for removal: This API element is subject to removal in a future version.useindexStats()
-
Methods inherited from class dev.morphia.aggregation.stages.Stage
aggregation, stageName
-
-
-
-
Method Detail
-
indexStats
public static IndexStats 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
-
of
@Deprecated(forRemoval=true) public static IndexStats of()
Deprecated, for removal: This API element is subject to removal in a future version.useindexStats()
Creates the new stage. There is nothing to configure as the collection is determined as part of the pipeline execution.- Returns:
- the new stage
-
-