Interface UpdateDefinition.ArrayFilter
- Enclosing interface:
- UpdateDefinition
public static interface UpdateDefinition.ArrayFilter
A filter to specify which elements to modify in an array field.
- Since:
- 2.2
-
Method Summary
Modifier and TypeMethodDescriptionorg.bson.Document
Get theDocument
representation of the filter to apply.
-
Method Details
-
asDocument
org.bson.Document asDocument()Get theDocument
representation of the filter to apply. The returnedDocument
is used directly with the driver without further type or field mapping.- Returns:
- never null.
-