Package | Description |
---|---|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
com.mongodb.internal.connection | |
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Method and Description |
---|---|
void |
BulkWriteBatchCombiner.addErrorResult(java.util.List<BulkWriteError> writeErrors,
WriteConcernError writeConcernError,
IndexMap indexMap)
Add a list of error results and a write concern error
|
void |
BulkWriteBatchCombiner.addErrorResult(MongoBulkWriteException exception,
IndexMap indexMap)
Add an error result
|
void |
BulkWriteBatchCombiner.addResult(BulkWriteResult result,
IndexMap indexMap)
Add a result
|
void |
BulkWriteBatchCombiner.addWriteErrorResult(BulkWriteError writeError,
IndexMap indexMap)
Add a write error result
|
private void |
BulkWriteBatchCombiner.mergeUpserts(java.util.List<BulkWriteUpsert> upserts,
IndexMap indexMap) |
private void |
BulkWriteBatchCombiner.mergeWriteErrors(java.util.List<BulkWriteError> newWriteErrors,
IndexMap indexMap) |
Modifier and Type | Class and Description |
---|---|
private static class |
IndexMap.HashBased |
private static class |
IndexMap.RangeBased |
Modifier and Type | Method and Description |
---|---|
abstract IndexMap |
IndexMap.add(int index,
int originalIndex)
Add a new index to the map
|
IndexMap |
IndexMap.HashBased.add(int index,
int originalIndex) |
IndexMap |
IndexMap.RangeBased.add(int index,
int originalIndex) |
static IndexMap |
IndexMap.create()
Create an empty index map.
|
static IndexMap |
IndexMap.create(int startIndex,
int count)
Create an index map that maps the integers 0..count to startIndex..startIndex + count.
|
Modifier and Type | Field and Description |
---|---|
private IndexMap |
MixedBulkWriteOperation.Run.indexMap |