| Package | Description |
|---|---|
| com.mongodb.async.client |
This packages contains classes for the new async client
|
| com.mongodb.client |
This package contains client interfaces
|
| com.mongodb.client.model |
This package contains models and options that help describe MongoCollection operations
|
| Modifier and Type | Method and Description |
|---|---|
void |
MongoCollection.renameCollection(MongoNamespace newCollectionNamespace,
RenameCollectionOptions options,
SingleResultCallback<Void> callback)
Rename the collection with oldCollectionName to the newCollectionName.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MongoCollection.renameCollection(MongoNamespace newCollectionNamespace,
RenameCollectionOptions renameCollectionOptions)
Rename the collection with oldCollectionName to the newCollectionName.
|
| Modifier and Type | Method and Description |
|---|---|
RenameCollectionOptions |
RenameCollectionOptions.dropTarget(boolean dropTarget)
Sets if mongod should drop the target of renameCollection prior to renaming the collection.
|
Copyright © 2016. All Rights Reserved.