org.apache.hadoop.hbase.rest.serializer
Interface ISerializable
- All Known Implementing Classes:
- Cell, DatabaseModel.DatabaseMetadata, HColumnDescriptor, HTableDescriptor, RestCell, RowResult, ScannerIdentifier, Status.StatusMessage, TableModel.Regions, TimestampsDescriptor, UnmodifyableHColumnDescriptor, UnmodifyableHTableDescriptor
public interface ISerializable
Interface for objects that wish to write back to the REST based
interface output stream. Objects should implement this interface,
then use the IRestSerializer passed to it to call the appropriate
serialization method.
Method Summary |
void |
restSerialize(IRestSerializer serializer)
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. |
restSerialize
void restSerialize(IRestSerializer serializer)
throws HBaseRestException
- 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.
- Parameters:
serializer
-
- Throws:
HBaseRestException
Copyright © 2009 The Apache Software Foundation