Package org.apache.accumulo.core.client
Class ConditionalWriter.Result
java.lang.Object
org.apache.accumulo.core.client.ConditionalWriter.Result
- Enclosing interface:
- ConditionalWriter
-
Constructor Summary
ConstructorDescriptionResult
(Exception e, ConditionalMutation cm, String server) Result
(ConditionalWriter.Status s, ConditionalMutation m, String server) -
Method Summary
Modifier and TypeMethodDescriptionIf this method throws an exception, then its possible the mutation is still being actively processed.
-
Constructor Details
-
Result
-
Result
-
-
Method Details
-
getStatus
If this method throws an exception, then its possible the mutation is still being actively processed. Therefore if code chooses to continue after seeing an exception it should take this into consideration.- Returns:
- status of a conditional mutation
- Throws:
AccumuloException
AccumuloSecurityException
-
getMutation
- Returns:
- A copy of the mutation previously submitted by a user. The mutation will reference the same data, but the object may be different.
-
getTabletServer
- Returns:
- The server this mutation was sent to. Returns null if was not sent to a server.
-