public class RenameCollectionOptions
extends java.lang.Object
Constructor and Description |
---|
RenameCollectionOptions() |
Modifier and Type | Method and 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.
|
java.lang.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.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved