Uses of Class
org.springframework.data.mongodb.core.aggregation.SampleOperation
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of SampleOperation in org.springframework.data.mongodb.core.aggregation
Modifier and TypeMethodDescriptionstatic SampleOperation
Aggregation.sample
(long sampleSize) Creates a newSampleOperation
to select the specified number of documents from its input randomly.