public static final class OrcRawRecordMerger.ReaderKey extends RecordIdentifier
RecordIdentifier.Field, RecordIdentifier.StructInfo
Constructor and Description |
---|
ReaderKey() |
ReaderKey(long originalTransaction,
int bucket,
long rowId,
long currentTransactionId) |
ReaderKey(long originalTransaction,
int bucket,
long rowId,
long currentTransactionId,
int statementId) |
Modifier and Type | Method and Description |
---|---|
int |
compareRow(RecordIdentifier other)
Compare rows without considering the currentTransactionId.
|
int |
compareTo(RecordIdentifier other) |
boolean |
equals(Object other) |
long |
getCurrentTransactionId() |
int |
hashCode() |
void |
set(RecordIdentifier other)
Set this object to match the given object.
|
void |
setValues(long originalTransactionId,
int bucket,
long rowId,
long currentTransactionId,
int statementId) |
String |
toString() |
compareToInternal, getBucketId, getRowId, getTransactionId, readFields, setRowId, setValues, write
public ReaderKey()
public ReaderKey(long originalTransaction, int bucket, long rowId, long currentTransactionId)
public ReaderKey(long originalTransaction, int bucket, long rowId, long currentTransactionId, int statementId)
statementId
- - set this to 0 if N/Apublic void set(RecordIdentifier other)
RecordIdentifier
set
in class RecordIdentifier
other
- the object to copy frompublic void setValues(long originalTransactionId, int bucket, long rowId, long currentTransactionId, int statementId)
public boolean equals(Object other)
equals
in class RecordIdentifier
public int hashCode()
hashCode
in class RecordIdentifier
public int compareTo(RecordIdentifier other)
compareTo
in interface Comparable<RecordIdentifier>
compareTo
in class RecordIdentifier
public long getCurrentTransactionId()
public int compareRow(RecordIdentifier other)
other
- the value to compare topublic String toString()
toString
in class RecordIdentifier
Copyright © 2021 The Apache Software Foundation. All rights reserved.