public class RenameCollectionOptions extends Object
Constructor | Description |
---|---|
RenameCollectionOptions() |
Modifier and Type | Method | Description |
---|---|---|
RenameCollectionOptions |
dropTarget(boolean dropTarget) |
Sets if mongod should drop the target of renameCollection prior to renaming the collection.
|
boolean |
isDropTarget() |
Gets if mongod should drop the target of renameCollection prior to renaming the collection.
|
String |
toString() |
public boolean isDropTarget()
public RenameCollectionOptions dropTarget(boolean dropTarget)
dropTarget
- true if mongod should drop the target of renameCollection prior to renaming the collection.