org.apache.hadoop.hbase.rest
Class Status.StatusMessage
java.lang.Object
org.apache.hadoop.hbase.rest.Status.StatusMessage
- All Implemented Interfaces:
- ISerializable
- Enclosing class:
- Status
public static class Status.StatusMessage
- extends Object
- implements ISerializable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Status.StatusMessage
public Status.StatusMessage(int statusCode,
boolean error,
Object o)
getStatusCode
public int getStatusCode()
getError
public boolean getError()
getMessage
public Object getMessage()
restSerialize
public void restSerialize(IRestSerializer serializer)
throws HBaseRestException
- Description copied from interface:
ISerializable
- visitor pattern method where the object implementing this interface will
call back on the IRestSerializer with the correct method to run to
serialize the output of the object to the stream.
- Specified by:
restSerialize
in interface ISerializable
- Throws:
HBaseRestException
Copyright © 2010 The Apache Software Foundation