Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
com.mongodb.async.client |
This packages contains classes for the new async client
|
com.mongodb.client |
This package contains classes for the new client api for MongoDatabase and MongoCollection
|
com.mongodb.client.model |
This package contains models and options that help describe MongoCollection operations
|
Modifier and Type | Method and Description |
---|---|
void |
MongoCollectionImpl.renameCollection(MongoNamespace newCollectionNamespace,
RenameCollectionOptions renameCollectionOptions) |
Modifier and Type | Method and Description |
---|---|
void |
MongoCollectionImpl.renameCollection(MongoNamespace newCollectionNamespace,
RenameCollectionOptions options,
SingleResultCallback<java.lang.Void> callback) |
void |
MongoCollection.renameCollection(MongoNamespace newCollectionNamespace,
RenameCollectionOptions options,
SingleResultCallback<java.lang.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.
|