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 |
---|---|
private void |
MongoCollectionImpl.executeInsertOne(ClientSession clientSession,
TDocument document,
InsertOneOptions options) |
void |
MongoCollectionImpl.insertOne(ClientSession clientSession,
TDocument document,
InsertOneOptions options) |
void |
MongoCollectionImpl.insertOne(TDocument document,
InsertOneOptions options) |
Modifier and Type | Method and Description |
---|---|
private void |
MongoCollectionImpl.executeInsertOne(ClientSession clientSession,
TDocument document,
InsertOneOptions options,
SingleResultCallback<java.lang.Void> callback) |
void |
MongoCollection.insertOne(ClientSession clientSession,
TDocument document,
InsertOneOptions options,
SingleResultCallback<java.lang.Void> callback)
Inserts the provided document.
|
void |
MongoCollectionImpl.insertOne(ClientSession clientSession,
TDocument document,
InsertOneOptions options,
SingleResultCallback<java.lang.Void> callback) |
void |
MongoCollection.insertOne(TDocument document,
InsertOneOptions options,
SingleResultCallback<java.lang.Void> callback)
Inserts the provided document.
|
void |
MongoCollectionImpl.insertOne(TDocument document,
InsertOneOptions options,
SingleResultCallback<java.lang.Void> callback) |
Modifier and Type | Method and Description |
---|---|
void |
MongoCollection.insertOne(ClientSession clientSession,
TDocument document,
InsertOneOptions options)
Inserts the provided document.
|
void |
MongoCollection.insertOne(TDocument document,
InsertOneOptions options)
Inserts the provided document.
|
Modifier and Type | Method and Description |
---|---|
InsertOneOptions |
InsertOneOptions.bypassDocumentValidation(java.lang.Boolean bypassDocumentValidation)
Sets the bypass document level validation flag.
|