public final class DBCollectionRemoveOptions
extends java.lang.Object
Constructor and Description |
---|
DBCollectionRemoveOptions()
Construct a new instance
|
Modifier and Type | Method and 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()
public Collation getCollation()
public DBCollectionRemoveOptions collation(Collation collation)
collation
- the collationpublic WriteConcern getWriteConcern()
public DBCollectionRemoveOptions writeConcern(WriteConcern writeConcern)
writeConcern
- the write concernpublic DBEncoder getEncoder()
public DBCollectionRemoveOptions encoder(DBEncoder encoder)
encoder
- the encoder