Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Method and Description |
---|---|
private WriteResult |
DBCollection.insert(java.util.List<InsertRequest> insertRequestList,
WriteConcern writeConcern,
boolean continueOnError,
java.lang.Boolean bypassDocumentValidation) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<InsertRequest> |
InsertProtocol.insertRequestList |
private java.util.List<InsertRequest> |
InsertMessage.insertRequestList |
private java.util.List<InsertRequest> |
InsertCommandMessage.insertRequestList |
private java.util.List<InsertRequest> |
InsertCommandProtocol.insertRequests |
Modifier and Type | Method and Description |
---|---|
java.util.List<InsertRequest> |
InsertMessage.getInsertRequestList() |
java.util.List<InsertRequest> |
InsertCommandMessage.getRequests()
Gets the list of insert requests.
|
Modifier and Type | Method and Description |
---|---|
WriteConcernResult |
DefaultServerConnection.insert(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
java.util.List<InsertRequest> inserts) |
WriteConcernResult |
Connection.insert(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
java.util.List<InsertRequest> inserts)
Insert the documents using the insert wire protocol and apply the write concern.
|
void |
DefaultServerConnection.insertAsync(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
java.util.List<InsertRequest> inserts,
SingleResultCallback<WriteConcernResult> callback) |
void |
AsyncConnection.insertAsync(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
java.util.List<InsertRequest> inserts,
SingleResultCallback<WriteConcernResult> callback)
Insert the documents using the insert wire protocol and apply the write concern asynchronously.
|
BulkWriteResult |
DefaultServerConnection.insertCommand(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
java.lang.Boolean bypassDocumentValidation,
java.util.List<InsertRequest> inserts) |
BulkWriteResult |
Connection.insertCommand(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
java.lang.Boolean bypassDocumentValidation,
java.util.List<InsertRequest> inserts)
Insert the documents using the insert command.
|
BulkWriteResult |
DefaultServerConnection.insertCommand(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
java.util.List<InsertRequest> inserts) |
BulkWriteResult |
Connection.insertCommand(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
java.util.List<InsertRequest> inserts)
Deprecated.
|
void |
DefaultServerConnection.insertCommandAsync(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
java.lang.Boolean bypassDocumentValidation,
java.util.List<InsertRequest> inserts,
SingleResultCallback<BulkWriteResult> callback) |
void |
AsyncConnection.insertCommandAsync(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
java.lang.Boolean bypassDocumentValidation,
java.util.List<InsertRequest> inserts,
SingleResultCallback<BulkWriteResult> callback)
Insert the documents using the insert command asynchronously.
|
void |
DefaultServerConnection.insertCommandAsync(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
java.util.List<InsertRequest> inserts,
SingleResultCallback<BulkWriteResult> callback) |
void |
AsyncConnection.insertCommandAsync(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
java.util.List<InsertRequest> inserts,
SingleResultCallback<BulkWriteResult> callback)
|
Constructor and Description |
---|
InsertCommandMessage(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
java.lang.Boolean bypassDocumentValidation,
MessageSettings settings,
java.util.List<InsertRequest> insertRequestList) |
InsertCommandProtocol(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
java.lang.Boolean bypassDocumentValidation,
java.util.List<InsertRequest> insertRequests) |
InsertMessage(java.lang.String collectionName,
boolean ordered,
WriteConcern writeConcern,
java.util.List<InsertRequest> insertRequestList,
MessageSettings settings) |
InsertProtocol(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
java.util.List<InsertRequest> insertRequestList) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<InsertRequest> |
InsertOperation.insertRequests |
Modifier and Type | Method and Description |
---|---|
private InsertRequest |
CreateUserOperation.getInsertRequest() |
Modifier and Type | Method and Description |
---|---|
java.util.List<InsertRequest> |
InsertOperation.getInsertRequests()
Gets the list of insert requests.
|
Modifier and Type | Method and Description |
---|---|
(package private) MixedBulkWriteOperation.Run.AsyncRunExecutor |
MixedBulkWriteOperation.Run.getInsertsRunExecutor(java.util.List<InsertRequest> insertRequests,
java.lang.Boolean bypassDocumentValidation,
AsyncConnection connection) |
(package private) MixedBulkWriteOperation.Run.RunExecutor |
MixedBulkWriteOperation.Run.getInsertsRunExecutor(java.util.List<InsertRequest> insertRequests,
java.lang.Boolean bypassDocumentValidation,
Connection connection) |
Constructor and Description |
---|
InsertOperation(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
java.util.List<InsertRequest> insertRequests)
Construct an instance.
|