Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
com.mongodb.bulk |
Contains classes for representing the result of a bulk write operation.
|
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 static java.lang.Object |
BulkWriteHelper.getUpsertedId(BulkWriteUpsert cur,
Decoder<DBObject> decoder) |
Modifier and Type | Method and Description |
---|---|
(package private) static java.util.List<BulkWriteUpsert> |
BulkWriteHelper.translateBulkWriteUpserts(java.util.List<BulkWriteUpsert> upserts,
Decoder<DBObject> decoder) |
Modifier and Type | Method and Description |
---|---|
abstract java.util.List<BulkWriteUpsert> |
BulkWriteResult.getUpserts()
Gets an unmodifiable list of upserted items, or the empty list if there were none.
|
Modifier and Type | Method and Description |
---|---|
static BulkWriteResult |
BulkWriteResult.acknowledged(int insertedCount,
int matchedCount,
int removedCount,
java.lang.Integer modifiedCount,
java.util.List<BulkWriteUpsert> upserts)
Create an acknowledged BulkWriteResult
|
static BulkWriteResult |
BulkWriteResult.acknowledged(WriteRequest.Type type,
int count,
java.lang.Integer modifiedCount,
java.util.List<BulkWriteUpsert> upserts)
Create an acknowledged BulkWriteResult
|
static BulkWriteResult |
BulkWriteResult.acknowledged(WriteRequest.Type type,
int count,
java.util.List<BulkWriteUpsert> upserts)
Create an acknowledged BulkWriteResult
|
Modifier and Type | Field and Description |
---|---|
private java.util.Set<BulkWriteUpsert> |
BulkWriteBatchCombiner.writeUpserts |
Modifier and Type | Method and Description |
---|---|
private static java.util.List<BulkWriteUpsert> |
WriteCommandResultHelper.getUpsertedItems(BsonDocument result) |
Modifier and Type | Method and Description |
---|---|
private void |
BulkWriteBatchCombiner.mergeUpserts(java.util.List<BulkWriteUpsert> upserts,
IndexMap indexMap) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<BulkWriteUpsert> |
BulkWriteBatch.getUpsertedItems(BsonDocument result) |