public class RenameCollectionOptions
extends java.lang.Object
| 构造器和说明 |
|---|
RenameCollectionOptions() |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
public boolean isDropTarget()
public RenameCollectionOptions dropTarget(boolean dropTarget)
dropTarget - true if mongod should drop the target of renameCollection prior to renaming the collection.