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.