public class RenameCollectionOptions extends 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. | 
public boolean isDropTarget()
public RenameCollectionOptions dropTarget(boolean dropTarget)
dropTarget - true if mongod should drop the target of renameCollection prior to renaming the collection.