org.apache.hcatalog.hbase.snapshot
Class FamilyRevision

Object
  extended by FamilyRevision
All Implemented Interfaces:
Comparable<FamilyRevision>

public class FamilyRevision
extends Object
implements Comparable<FamilyRevision>

A FamiliyRevision class consists of a revision number and a expiration timestamp. When a write transaction starts, the transaction object is appended to the transaction list of the each column family and stored in the corresponding znode. When a write transaction is committed, the transaction object is removed from the list.


Method Summary
 int compareTo(FamilyRevision o)
           
 long getExpireTimestamp()
           
 long getRevision()
           
 String toString()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getRevision

public long getRevision()

getExpireTimestamp

public long getExpireTimestamp()

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(FamilyRevision o)
Specified by:
compareTo in interface Comparable<FamilyRevision>