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
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
MongoCollectionImpl.createIndexes(java.util.List<IndexModel> indexes) |
Modifier and Type | Method and Description |
---|---|
void |
MongoCollection.createIndexes(java.util.List<IndexModel> indexes,
SingleResultCallback<java.util.List<java.lang.String>> callback)
Create multiple indexes.
|
void |
MongoCollectionImpl.createIndexes(java.util.List<IndexModel> indexes,
SingleResultCallback<java.util.List<java.lang.String>> callback) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
MongoCollection.createIndexes(java.util.List<IndexModel> indexes)
Create multiple indexes.
|