org.apache.hadoop.hbase.regionserver.transactional
Class THLogKey
java.lang.Object
org.apache.hadoop.hbase.regionserver.HLogKey
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)
|
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)
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 © 2010 The Apache Software Foundation