BulkImportFailure Class

  • java.lang.Object
    • com.microsoft.azure.documentdb.bulkexecutor.BulkImportFailure

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

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

BulkImportFailure

public BulkImportFailure()

Method Details

getBulkImportFailureException

public Exception getBulkImportFailureException()

Gets the exception which led to the bulk import failure

Returns:

Exception that led to bulk import failure

getDocumentsFailedToImport

public List getDocumentsFailedToImport()

Gets the list of documents which were not successfully imported

Returns:

List of documents which could not be imported

setBulkImportFailureException

public void setBulkImportFailureException(Exception bulkImportFailureException)

Sets the exception which caused the bulk import failure

Parameters:

bulkImportFailureException - Exception that led to bulk import failure

setDocumentsFailedToImport

public void setDocumentsFailedToImport(List documentsFailedToImport)

Sets the list of documents which were not successfully imported

Parameters:

documentsFailedToImport - List of documents which could not be imported

Applies to