T - the type of document to update. In practice this doesn't actually apply to updates but is here for consistency with the
other write modelspublic class DeleteOneModel<T> extends WriteModel<T>
| Constructor and Description |
|---|
DeleteOneModel(Object filter)
Construct a new instance.
|
public DeleteOneModel(Object filter)
filter - a document describing the query filter, which may not be null. The filter can be of any type for which a
Codec is registeredpublic Object getFilter()