Package com.mongodb.client.model
Class DBCollectionRemoveOptions
java.lang.Object
com.mongodb.client.model.DBCollectionRemoveOptions
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
The options to apply when removing documents from the DBCollection
- Since:
- 3.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Sets the collationDeprecated.Sets the encoderDeprecated.Returns the collation optionsDeprecated.Returns the encoderDeprecated.The write concern to use for the insertion.writeConcern(WriteConcern writeConcern) Deprecated.Sets the write concern
-
Constructor Details
-
DBCollectionRemoveOptions
public DBCollectionRemoveOptions()Deprecated.Construct a new instance
-
-
Method Details
-
getCollation
Deprecated.Returns the collation options- Returns:
- the collation options
-
collation
Deprecated.Sets the collation- Parameters:
collation- the collation- Returns:
- this
-
getWriteConcern
Deprecated.The write concern to use for the insertion. By default the write concern configured for the DBCollection instance will be used.- Returns:
- the write concern, or null if the default will be used.
-
writeConcern
Deprecated.Sets the write concern- Parameters:
writeConcern- the write concern- Returns:
- this
-
getEncoder
Deprecated.Returns the encoder- Returns:
- the encoder
-
encoder
Deprecated.Sets the encoder- Parameters:
encoder- the encoder- Returns:
- this
-