public void addResult ( final BulkWriteResult result , final IndexMap indexMap ) { insertedCount += result . getInsertedCount ( ) ; matchedCount += result . getMatchedCount ( ) ; deletedCount += result . getDeletedCount ( ) ; modifiedCount += result . getModifiedCount ( ) ; mergeUpserts ( result . getUpserts ( ) , indexMap ) ; }
Add a result