org.apache.accumulo.core.client
Class ConditionalWriter.Result
java.lang.Object
org.apache.accumulo.core.client.ConditionalWriter.Result
- Enclosing interface:
- ConditionalWriter
public static class ConditionalWriter.Result
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConditionalWriter.Result
public ConditionalWriter.Result(ConditionalWriter.Status s,
ConditionalMutation m,
String server)
ConditionalWriter.Result
public ConditionalWriter.Result(Exception e,
ConditionalMutation cm,
String server)
getStatus
public ConditionalWriter.Status getStatus()
throws AccumuloException,
AccumuloSecurityException
- 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
public ConditionalMutation 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
public String getTabletServer()
- Returns:
- The server this mutation was sent to. Returns null if was not sent to a server.
Copyright © 2015 Apache Accumulo Project. All rights reserved.