org.apache.accumulo.core.client
Class MutationsRejectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.accumulo.core.client.AccumuloException
org.apache.accumulo.core.client.MutationsRejectedException
- All Implemented Interfaces:
- java.io.Serializable
public class MutationsRejectedException
- extends AccumuloException
Communicate the failed mutations of a BatchWriter back to the client.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MutationsRejectedException
public MutationsRejectedException(java.util.List<ConstraintViolationSummary> cvsList,
java.util.ArrayList<KeyExtent> af,
java.util.Collection<java.lang.String> serverSideErrors,
int unknownErrors)
- Parameters:
cvsList
- list of constraint violationsaf
- authorization failuresserverSideErrors
- server side errorsunknownErrors
- number of unknown errors
getConstraintViolationSummaries
public java.util.List<ConstraintViolationSummary> getConstraintViolationSummaries()
- Returns:
- the internal list of constraint violations
getAuthorizationFailures
public java.util.List<KeyExtent> getAuthorizationFailures()
- Returns:
- the internal list of authorization failures
getErrorServers
public java.util.Collection<java.lang.String> getErrorServers()
- Returns:
- A list of servers that had internal errors when mutations were written
getUnknownExceptions
public int getUnknownExceptions()
- Returns:
- a count of unknown exceptions that occurred during processing
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.