BulkImportResponse Class
- java.
lang. Object - com.
microsoft. azure. documentdb. bulkexecutor. BulkImportResponse
- com.
public class BulkImportResponse
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
getBadInputDocuments()
Gets the list of bad input documents which caused failures. |
java.util.List<java.lang.Exception> |
getErrors()
Gets failure list if some documents failed to get inserted. |
java.util.List<Bulk |
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. |
Methods inherited from java.lang.Object
Method Details
getBadInputDocuments
public List
Gets the list of bad input documents which caused failures.
Returns:
getErrors
public List
Gets failure list if some documents failed to get inserted.
Returns:
getFailedImports
public List
Gets the list of failed imports during the bulk import
getNumberOfDocumentsImported
public int getNumberOfDocumentsImported()
Gets number of documents successfully inserted.
If this number is less than actual batch size (meaning some documents failed to get inserted), use getErrors() to get the failure cause.
Returns:
getTotalRequestUnitsConsumed
public double getTotalRequestUnitsConsumed()
Gets the total request units consumed during the bulk import.
Returns:
getTotalTimeTaken
public Duration getTotalTimeTaken()
Gets the total time taken for bulk import.
Returns:
Applies to
Azure SDK for Java
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по