Package com.mongodb.client.model.search
Interface LowerBoundSearchCount
- All Superinterfaces:
Bson
,SearchCount
- Since:
- 4.7
- See Also:
-
Field Summary
Fields inherited from interface org.bson.conversions.Bson
DEFAULT_CODEC_REGISTRY
-
Method Summary
Modifier and TypeMethodDescriptionthreshold
(int threshold) Creates a newLowerBoundSearchCount
that instructs to count documents up to thethreshold
exactly, then to count roughly.Methods inherited from interface org.bson.conversions.Bson
toBsonDocument, toBsonDocument
-
Method Details
-
threshold
Creates a newLowerBoundSearchCount
that instructs to count documents up to thethreshold
exactly, then to count roughly.- Parameters:
threshold
- The number of documents to include in the exact count.- Returns:
- A new
LowerBoundSearchCount
.
-