|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.util.migration.v5.HLogKey
public class HLogKey
A Key for an entry in the change log. The log intermingles edits to many tables and rows, so each log entry identifies the appropriate table and row. Within a table and row, they're also sorted.
Constructor Summary | |
---|---|
HLogKey()
Create an empty key useful when deserializing |
|
HLogKey(byte[] regionName,
byte[] tablename,
byte[] row,
long logSeqNum)
Create the log key! We maintain the tablename mainly for debugging purposes. |
Method Summary | |
---|---|
int |
compareTo(Object o)
|
boolean |
equals(Object obj)
|
int |
hashCode()
|
void |
readFields(DataInput in)
|
String |
toString()
|
void |
write(DataOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HLogKey()
public HLogKey(byte[] regionName, byte[] tablename, byte[] row, long logSeqNum)
regionName
- - name of regiontablename
- - name of tablerow
- - row keylogSeqNum
- - log sequence numberMethod Detail |
---|
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareTo(Object o)
compareTo
in interface Comparable
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |