Class MutateRowsException.FailedMutation

java.lang.Object
com.google.cloud.bigtable.data.v2.models.MutateRowsException.FailedMutation
Enclosing class:
MutateRowsException

public abstract static class MutateRowsException.FailedMutation extends Object
Identifies which mutation failed and the reason it failed. The mutation is identified by it's index in the original request's MutateRowsRequest.getEntriesList().
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    create(int index, com.google.api.gax.rpc.ApiException error)
    This method is considered an internal implementation detail and not meant to be used by applications.
    abstract com.google.api.gax.rpc.ApiException
    The error that prevented this mutation from being applied.
    abstract int
    The index of the mutation in the original request's MutateRowsRequest.getEntriesList().

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FailedMutation

      public FailedMutation()
  • Method Details

    • create

      @InternalApi @Nonnull public static MutateRowsException.FailedMutation create(int index, com.google.api.gax.rpc.ApiException error)
      This method is considered an internal implementation detail and not meant to be used by applications.
    • getIndex

      public abstract int getIndex()
      The index of the mutation in the original request's MutateRowsRequest.getEntriesList().
    • getError

      @Nonnull public abstract com.google.api.gax.rpc.ApiException getError()
      The error that prevented this mutation from being applied. Please note, that if the entire RPC attempt failed, all mutations that were part of the attempt will have take on the same error.