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.dropIndex(Bson keys,
DropIndexOptions dropIndexOptions) |
void |
MongoCollectionImpl.dropIndex(ClientSession clientSession,
Bson keys,
DropIndexOptions dropIndexOptions) |
void |
MongoCollectionImpl.dropIndex(ClientSession clientSession,
java.lang.String indexName,
DropIndexOptions dropIndexOptions) |
void |
MongoCollectionImpl.dropIndex(java.lang.String indexName,
DropIndexOptions dropIndexOptions) |
void |
MongoCollectionImpl.dropIndexes(ClientSession clientSession,
DropIndexOptions dropIndexOptions) |
void |
MongoCollectionImpl.dropIndexes(DropIndexOptions dropIndexOptions) |
private void |
MongoCollectionImpl.executeDropIndex(ClientSession clientSession,
Bson keys,
DropIndexOptions dropIndexOptions) |
private void |
MongoCollectionImpl.executeDropIndex(ClientSession clientSession,
java.lang.String indexName,
DropIndexOptions dropIndexOptions) |
Modifier and Type | Method and Description |
---|---|
void |
MongoCollection.dropIndex(Bson keys,
DropIndexOptions dropIndexOptions,
SingleResultCallback<java.lang.Void> callback)
Drops the index given the keys used to create it.
|
void |
MongoCollectionImpl.dropIndex(Bson keys,
DropIndexOptions dropIndexOptions,
SingleResultCallback<java.lang.Void> callback) |
void |
MongoCollection.dropIndex(ClientSession clientSession,
Bson keys,
DropIndexOptions dropIndexOptions,
SingleResultCallback<java.lang.Void> callback)
Drops the index given the keys used to create it.
|
void |
MongoCollectionImpl.dropIndex(ClientSession clientSession,
Bson keys,
DropIndexOptions dropIndexOptions,
SingleResultCallback<java.lang.Void> callback) |
void |
MongoCollection.dropIndex(ClientSession clientSession,
java.lang.String indexName,
DropIndexOptions dropIndexOptions,
SingleResultCallback<java.lang.Void> callback)
Drops the index given its name.
|
void |
MongoCollectionImpl.dropIndex(ClientSession clientSession,
java.lang.String indexName,
DropIndexOptions dropIndexOptions,
SingleResultCallback<java.lang.Void> callback) |
void |
MongoCollection.dropIndex(java.lang.String indexName,
DropIndexOptions dropIndexOptions,
SingleResultCallback<java.lang.Void> callback)
Drops the index given its name.
|
void |
MongoCollectionImpl.dropIndex(java.lang.String indexName,
DropIndexOptions dropIndexOptions,
SingleResultCallback<java.lang.Void> callback) |
void |
MongoCollection.dropIndexes(ClientSession clientSession,
DropIndexOptions dropIndexOptions,
SingleResultCallback<java.lang.Void> callback)
Drop all the indexes on this collection, except for the default on _id.
|
void |
MongoCollectionImpl.dropIndexes(ClientSession clientSession,
DropIndexOptions dropIndexOptions,
SingleResultCallback<java.lang.Void> callback) |
void |
MongoCollection.dropIndexes(DropIndexOptions dropIndexOptions,
SingleResultCallback<java.lang.Void> callback)
Drop all the indexes on this collection, except for the default on _id.
|
void |
MongoCollectionImpl.dropIndexes(DropIndexOptions dropIndexOptions,
SingleResultCallback<java.lang.Void> callback) |
private void |
MongoCollectionImpl.executeDropIndex(ClientSession clientSession,
Bson keys,
DropIndexOptions dropIndexOptions,
SingleResultCallback<java.lang.Void> callback) |
private void |
MongoCollectionImpl.executeDropIndex(ClientSession clientSession,
java.lang.String indexName,
DropIndexOptions dropIndexOptions,
SingleResultCallback<java.lang.Void> callback) |
Modifier and Type | Method and Description |
---|---|
void |
MongoCollection.dropIndex(Bson keys,
DropIndexOptions dropIndexOptions)
Drops the index given the keys used to create it.
|
void |
MongoCollection.dropIndex(ClientSession clientSession,
Bson keys,
DropIndexOptions dropIndexOptions)
Drops the index given the keys used to create it.
|
void |
MongoCollection.dropIndex(ClientSession clientSession,
java.lang.String indexName,
DropIndexOptions dropIndexOptions)
Drops the index given its name.
|
void |
MongoCollection.dropIndex(java.lang.String indexName,
DropIndexOptions dropIndexOptions)
Drops the index given its name.
|
void |
MongoCollection.dropIndexes(ClientSession clientSession,
DropIndexOptions dropIndexOptions)
Drop all the indexes on this collection, except for the default on _id.
|
void |
MongoCollection.dropIndexes(DropIndexOptions dropIndexOptions)
Drop all the indexes on this collection, except for the default on _id.
|
Modifier and Type | Method and Description |
---|---|
DropIndexOptions |
DropIndexOptions.maxTime(long maxTime,
java.util.concurrent.TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|