|
||||||||||
| 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 number| Method Detail |
|---|
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic int compareTo(Object o)
compareTo in interface Comparable
public void write(DataOutput out)
throws IOException
write in interface org.apache.hadoop.io.WritableIOException
public void readFields(DataInput in)
throws IOException
readFields in interface org.apache.hadoop.io.WritableIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||