public final class DBCollectionRemoveOptions extends Object
Constructor | Description |
---|---|
DBCollectionRemoveOptions() |
Construct a new instance
|
Modifier and Type | Method | Description |
---|---|---|
DBCollectionRemoveOptions |
collation(Collation collation) |
Sets the collation
|
DBCollectionRemoveOptions |
encoder(DBEncoder encoder) |
Sets the encoder
|
Collation |
getCollation() |
Returns the collation options
|
DBEncoder |
getEncoder() |
Returns the encoder
|
WriteConcern |
getWriteConcern() |
The write concern to use for the insertion.
|
DBCollectionRemoveOptions |
writeConcern(WriteConcern writeConcern) |
Sets the write concern
|
public DBCollectionRemoveOptions()
@Nullable public Collation getCollation()
public DBCollectionRemoveOptions collation(@Nullable Collation collation)
collation
- the collation@Nullable public WriteConcern getWriteConcern()
public DBCollectionRemoveOptions writeConcern(@Nullable WriteConcern writeConcern)
writeConcern
- the write concernpublic DBCollectionRemoveOptions encoder(@Nullable DBEncoder encoder)
encoder
- the encoder