|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hive.ql.io.RecordIdentifier
public class RecordIdentifier
Gives the Record identifer information for the current record.
| Constructor Summary | |
|---|---|
RecordIdentifier()
|
|
RecordIdentifier(long transactionId,
int bucket,
long rowId)
|
|
| Method Summary | |
|---|---|
int |
compareTo(RecordIdentifier other)
|
protected int |
compareToInternal(RecordIdentifier other)
|
boolean |
equals(Object other)
|
int |
getBucketId()
What was the original bucket id for the last row? |
long |
getRowId()
What was the original row id for the last row? |
long |
getTransactionId()
What was the original transaction id for the last row? |
void |
readFields(DataInput dataInput)
|
void |
set(RecordIdentifier other)
Set this object to match the given object. |
void |
setRowId(long rowId)
|
void |
setValues(long transactionId,
int bucketId,
long rowId)
Set the identifier. |
String |
toString()
|
void |
write(DataOutput dataOutput)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RecordIdentifier()
public RecordIdentifier(long transactionId,
int bucket,
long rowId)
| Method Detail |
|---|
public void setValues(long transactionId,
int bucketId,
long rowId)
transactionId - the transaction idbucketId - the bucket idrowId - the row idpublic void set(RecordIdentifier other)
other - the object to copy frompublic void setRowId(long rowId)
public long getTransactionId()
public int getBucketId()
public long getRowId()
protected int compareToInternal(RecordIdentifier other)
public int compareTo(RecordIdentifier other)
compareTo in interface Comparable<RecordIdentifier>
public void write(DataOutput dataOutput)
throws IOException
write in interface org.apache.hadoop.io.WritableIOException
public void readFields(DataInput dataInput)
throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic boolean equals(Object other)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||