BulkImportFailure Class
- java.
lang. Object - com.
microsoft. azure. documentdb. bulkexecutor. BulkImportFailure
- com.
public class BulkImportFailure
Constructor Summary
Constructor | Description | |
---|---|---|
BulkImportFailure() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getBulkImportFailureException()
Gets the exception which led to the bulk import failure |
java.util.List<java.lang.String> |
getDocumentsFailedToImport()
Gets the list of documents which were not successfully imported |
void |
setBulkImportFailureException(Exception bulkImportFailureException)
Sets the exception which caused the bulk import failure |
void |
setDocumentsFailedToImport(List<String> documentsFailedToImport)
Sets the list of documents which were not successfully imported |
Methods inherited from java.lang.Object
Constructor Details
BulkImportFailure
public BulkImportFailure()
Method Details
getBulkImportFailureException
public Exception getBulkImportFailureException()
Gets the exception which led to the bulk import failure
Returns:
getDocumentsFailedToImport
public List
Gets the list of documents which were not successfully imported
Returns:
setBulkImportFailureException
public void setBulkImportFailureException(Exception bulkImportFailureException)
Sets the exception which caused the bulk import failure
Parameters:
setDocumentsFailedToImport
public void setDocumentsFailedToImport(List
Sets the list of documents which were not successfully imported
Parameters:
Applies to
Azure SDK for Java