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()
@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 concern@Nullable public DBEncoder getEncoder()
public DBCollectionRemoveOptions encoder(@Nullable DBEncoder encoder)
encoder
- the encoderCopyright © 2010 - 2020 Adobe. All Rights Reserved