Package com.mongodb.client.model
Class RenameCollectionOptions
java.lang.Object
com.mongodb.client.model.RenameCollectionOptions
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
The options to apply when renaming a collection.
- Since:
- 3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondropTarget
(boolean dropTarget) Deprecated.Sets if mongod should drop the target of renameCollection prior to renaming the collection.boolean
Deprecated.Gets if mongod should drop the target of renameCollection prior to renaming the collection.toString()
Deprecated.
-
Constructor Details
-
RenameCollectionOptions
public RenameCollectionOptions()Deprecated.
-
-
Method Details
-
isDropTarget
public boolean isDropTarget()Deprecated.Gets if mongod should drop the target of renameCollection prior to renaming the collection.- Returns:
- true if mongod should drop the target of renameCollection prior to renaming the collection.
-
dropTarget
Deprecated.Sets if mongod should drop the target of renameCollection prior to renaming the collection.- Parameters:
dropTarget
- true if mongod should drop the target of renameCollection prior to renaming the collection.- Returns:
- this
-
toString
Deprecated.
-