Package com.mongodb.client.model.search
Interface NumberSearchFacet
- All Superinterfaces:
Bson
,SearchFacet
- Since:
- 4.7
- See Also:
-
Field Summary
Fields inherited from interface org.bson.conversions.Bson
DEFAULT_CODEC_REGISTRY
-
Method Summary
Modifier and TypeMethodDescriptiondefaultBucket
(String name) Creates a newNumberSearchFacet
with the default bucket specified.Methods inherited from interface org.bson.conversions.Bson
toBsonDocument, toBsonDocument
-
Method Details
-
defaultBucket
Creates a newNumberSearchFacet
with the default bucket specified.- Parameters:
name
- The name of the bucket for documents that do not fall within the specified boundaries.- Returns:
- A new
NumberSearchFacet
.
-