public class MongoInsertionResultsDto extends Object
| Modifier and Type | Field and Description |
|---|---|
List<Boolean> |
executionResults
Whether the insertion at the index of a sequence of Mongo insertions (i.e.,
MongoDatabaseCommandDto.insertions)
executed successfully |
Integer |
failedInsertionIndex
The index of the insertion that failed if any
|
| Constructor and Description |
|---|
MongoInsertionResultsDto() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleFailedInsertion(List<MongoInsertionDto> insertions,
Exception e) |
Boolean |
insertionFailed() |
public List<Boolean> executionResults
MongoDatabaseCommandDto.insertions)
executed successfullypublic Integer failedInsertionIndex
public Boolean insertionFailed()
public void handleFailedInsertion(List<MongoInsertionDto> insertions, Exception e)
Copyright © 2016–2024. All rights reserved.