Compartilhar via


BulkUpdateFailure Class

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

public class BulkUpdateFailure

Constructor Summary

Constructor Description
BulkUpdateFailure()

Method Summary

Modifier and Type Method and Description
java.lang.Exception getBulkUpdateFailureException()

Gets the exception which led to the bulk update failure

java.util.List<UpdateItem> getFailedUpdateItems()

Gets the list of UpdateItems which were not successfully updated

void setBulkUpdateFailureException(Exception bulkUpdateFailureException)

Sets the exception which caused the bulk update failure

void setFailedUpdates(List<UpdateItem> failedUpdateItems)

Sets the list of UpdateItems which were not successfully updated

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

BulkUpdateFailure

public BulkUpdateFailure()

Method Details

getBulkUpdateFailureException

public Exception getBulkUpdateFailureException()

Gets the exception which led to the bulk update failure

Returns:

Exception that led to bulk update failure

getFailedUpdateItems

public List getFailedUpdateItems()

Gets the list of UpdateItems which were not successfully updated

Returns:

failedUpdateItems List UpdateItems which could not be updated in bulk

setBulkUpdateFailureException

public void setBulkUpdateFailureException(Exception bulkUpdateFailureException)

Sets the exception which caused the bulk update failure

Parameters:

bulkUpdateFailureException - Exception that led to bulk update failure

setFailedUpdates

public void setFailedUpdates(List failedUpdateItems)

Sets the list of UpdateItems which were not successfully updated

Parameters:

failedUpdateItems - List UpdateItems which could not be updated in bulk

Applies to