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 |
---|---|
java.util.List<java.lang.String> |
MongoCollectionImpl.createIndexes(ClientSession clientSession,
java.util.List<IndexModel> indexes,
CreateIndexOptions createIndexOptions) |
java.util.List<java.lang.String> |
MongoCollectionImpl.createIndexes(java.util.List<IndexModel> indexes,
CreateIndexOptions createIndexOptions) |
private java.util.List<java.lang.String> |
MongoCollectionImpl.executeCreateIndexes(ClientSession clientSession,
java.util.List<IndexModel> indexes,
CreateIndexOptions createIndexOptions) |
Modifier and Type | Method and Description |
---|---|
void |
MongoCollection.createIndexes(ClientSession clientSession,
java.util.List<IndexModel> indexes,
CreateIndexOptions createIndexOptions,
SingleResultCallback<java.util.List<java.lang.String>> callback)
Create multiple indexes.
|
void |
MongoCollectionImpl.createIndexes(ClientSession clientSession,
java.util.List<IndexModel> indexes,
CreateIndexOptions createIndexOptions,
SingleResultCallback<java.util.List<java.lang.String>> callback) |
void |
MongoCollection.createIndexes(java.util.List<IndexModel> indexes,
CreateIndexOptions createIndexOptions,
SingleResultCallback<java.util.List<java.lang.String>> callback)
Create multiple indexes.
|
void |
MongoCollectionImpl.createIndexes(java.util.List<IndexModel> indexes,
CreateIndexOptions createIndexOptions,
SingleResultCallback<java.util.List<java.lang.String>> callback) |
private void |
MongoCollectionImpl.executeCreateIndexes(ClientSession clientSession,
java.util.List<IndexModel> indexes,
CreateIndexOptions createIndexOptions,
SingleResultCallback<java.util.List<java.lang.String>> callback) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
MongoCollection.createIndexes(ClientSession clientSession,
java.util.List<IndexModel> indexes,
CreateIndexOptions createIndexOptions)
Create multiple indexes.
|
java.util.List<java.lang.String> |
MongoCollection.createIndexes(java.util.List<IndexModel> indexes,
CreateIndexOptions createIndexOptions)
Create multiple indexes.
|
Modifier and Type | Method and Description |
---|---|
CreateIndexOptions |
CreateIndexOptions.maxTime(long maxTime,
java.util.concurrent.TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|