org.apache.hadoop.hbase.regionserver.transactional
Class THLogKey

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.HLogKey
      extended by org.apache.hadoop.hbase.regionserver.transactional.THLogKey
All Implemented Interfaces:
Comparable<HLogKey>, HeapSize, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<HLogKey>

public class THLogKey
extends HLogKey


Nested Class Summary
static class THLogKey.TrxOp
          Type of Transactional op going into the HLot
 
Constructor Summary
THLogKey()
           
THLogKey(byte[] regionName, byte[] tablename, long logSeqNum, long now)
           
THLogKey(byte[] regionName, byte[] tablename, long logSeqNum, long now, THLogKey.TrxOp op, long transactionId)
           
 
Method Summary
 long getTransactionId()
           
 THLogKey.TrxOp getTrxOp()
           
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class org.apache.hadoop.hbase.regionserver.HLogKey
compareTo, equals, getLogSeqNum, getRegionName, getTablename, getWriteTime, hashCode, heapSize, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

THLogKey

public THLogKey()

THLogKey

public THLogKey(byte[] regionName,
                byte[] tablename,
                long logSeqNum,
                long now)

THLogKey

public THLogKey(byte[] regionName,
                byte[] tablename,
                long logSeqNum,
                long now,
                THLogKey.TrxOp op,
                long transactionId)
Method Detail

getTrxOp

public THLogKey.TrxOp getTrxOp()

getTransactionId

public long getTransactionId()

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Overrides:
write in class HLogKey
Throws:
IOException

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Overrides:
readFields in class HLogKey
Throws:
IOException


Copyright © 2009 The Apache Software Foundation