org.apache.hadoop.hbase.rest.descriptors
Class TimestampsDescriptor

java.lang.Object
  extended by org.apache.hadoop.hbase.rest.descriptors.TimestampsDescriptor
All Implemented Interfaces:
ISerializable

public class TimestampsDescriptor
extends Object
implements ISerializable


Constructor Summary
TimestampsDescriptor()
           
 
Method Summary
 void add(long timestamp, byte[] tableName, byte[] rowName)
           
 Map<Long,String> getTimestamps()
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimestampsDescriptor

public TimestampsDescriptor()
Method Detail

add

public void add(long timestamp,
                byte[] tableName,
                byte[] rowName)

getTimestamps

public Map<Long,String> getTimestamps()
Returns:
the timestamps

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