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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per