public class BulkImportResponse extends Object
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getBadInputDocuments()
Gets the list of bad input documents which caused failures.
|
List<Exception> |
getErrors()
Gets failure list if some documents failed to get inserted.
|
List<BulkImportFailure> |
getFailedImports()
Gets the list of failed imports during the bulk import
|
int |
getNumberOfDocumentsImported()
Gets number of documents successfully inserted.
|
double |
getTotalRequestUnitsConsumed()
Gets the total request units consumed during the bulk import.
|
java.time.Duration |
getTotalTimeTaken()
Gets the total time taken for bulk import.
|
public int getNumberOfDocumentsImported()
If this number is less than actual batch size (meaning some documents failed to get inserted),
use getErrors() to get the failure cause.
public double getTotalRequestUnitsConsumed()
public java.time.Duration getTotalTimeTaken()
public List<Exception> getErrors()
public List<Object> getBadInputDocuments()
public List<BulkImportFailure> getFailedImports()
Copyright © 2019. All rights reserved.