@InterfaceAudience.Public @InterfaceStability.Evolving public class OperationResponse extends Object
Modifier and Type | Method and Description |
---|---|
static List<RowError> |
collectErrors(List<OperationResponse> responses)
Utility method that collects all the row errors from the given list of responses.
|
long |
getElapsedMillis()
Get the number of milliseconds elapsed since the RPC was created up to the moment when this
response was created.
|
RowError |
getRowError()
Returns a row error.
|
String |
getTsUUID()
Get the identifier of the tablet server that sent the response.
|
long |
getWriteTimestamp()
Gives the write timestamp that was returned by the Tablet Server.
|
boolean |
hasRowError()
Tells if this operation response contains a row error.
|
public static List<RowError> collectErrors(List<OperationResponse> responses)
responses
- a list of operation responses to collect the row errors frompublic long getWriteTimestamp()
public RowError getRowError()
hasRowError()
returns false, then this method returns null.public boolean hasRowError()
public long getElapsedMillis()
public String getTsUUID()
Copyright © 2016. All rights reserved.