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 final class DeleteManyModel<T> extends WriteModel<T>
| Constructor and Description | 
|---|
| DeleteManyModel(Bson filter)Construct a new instance. | 
| DeleteManyModel(Bson filter,
               DeleteOptions options)Construct a new instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| Bson | getFilter()Gets the query filter. | 
| DeleteOptions | getOptions()Gets the options to apply. | 
public DeleteManyModel(Bson filter)
filter - a document describing the query filter, which may not be null.public DeleteManyModel(Bson filter, DeleteOptions options)
filter - a document describing the query filter, which may not be null.options - the options to applypublic Bson getFilter()
public DeleteOptions getOptions()