@InterfaceAudience.LimitedPrivate(value="Replication") @Deprecated public class HLogKey extends WALKey implements org.apache.hadoop.io.Writable
Some Transactional edits (START, COMMIT, ABORT) will not have an associated row.
WALKey.Version
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG
Deprecated.
|
clusterIds, compressionContext, encodedRegionName, logSeqNum, NO_SEQUENCE_ID, tablename, VERSION, writeTime
Constructor and Description |
---|
HLogKey()
Deprecated.
|
HLogKey(byte[] encodedRegionName,
TableName tablename)
Deprecated.
|
HLogKey(byte[] encodedRegionName,
TableName tablename,
long now)
Deprecated.
|
HLogKey(byte[] encodedRegionName,
TableName tablename,
long now,
List<UUID> clusterIds,
long nonceGroup,
long nonce)
Deprecated.
Create the log key for writing to somewhere.
|
HLogKey(byte[] encodedRegionName,
TableName tablename,
long logSeqNum,
long now,
List<UUID> clusterIds,
long nonceGroup,
long nonce)
Deprecated.
Create the log key for writing to somewhere.
|
HLogKey(byte[] encodedRegionName,
TableName tablename,
long logSeqNum,
long nonceGroup,
long nonce)
Deprecated.
Create the log key for writing to somewhere.
|
HLogKey(byte[] encodedRegionName,
TableName tablename,
long logSeqNum,
long now,
UUID clusterId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
readFields(DataInput in)
Deprecated.
|
void |
write(DataOutput out)
Deprecated.
Don't use these Writables methods. Use PB instead.
|
addClusterId, compareTo, equals, getBuilder, getClusterIds, getEncodedRegionName, getLogSeqNum, getNonce, getNonceGroup, getOriginatingClusterId, getOrigLogSeqNum, getScopes, getSequenceId, getSequenceId, getTablename, getWriteTime, hashCode, init, readFieldsFromPb, readOlderScopes, setCompressionContext, setLogSeqNum, setOrigLogSeqNum, setScopes, toString, toStringMap
public HLogKey()
public HLogKey(byte[] encodedRegionName, TableName tablename, long logSeqNum, long now, UUID clusterId)
public HLogKey(byte[] encodedRegionName, TableName tablename)
public HLogKey(byte[] encodedRegionName, TableName tablename, long now)
public HLogKey(byte[] encodedRegionName, TableName tablename, long logSeqNum, long now, List<UUID> clusterIds, long nonceGroup, long nonce)
Used by log splitting and snapshots.
encodedRegionName
- Encoded name of the region as returned by
HRegionInfo#getEncodedNameAsBytes()
.tablename
- - name of tablelogSeqNum
- - log sequence numbernow
- Time at which this edit was written.clusterIds
- the clusters that have consumed the change(used in Replication)public HLogKey(byte[] encodedRegionName, TableName tablename, long now, List<UUID> clusterIds, long nonceGroup, long nonce)
encodedRegionName
- Encoded name of the region as returned by
HRegionInfo#getEncodedNameAsBytes()
.tablename
- now
- Time at which this edit was written.clusterIds
- the clusters that have consumed the change(used in Replication)nonceGroup
- nonce
- public HLogKey(byte[] encodedRegionName, TableName tablename, long logSeqNum, long nonceGroup, long nonce)
encodedRegionName
- Encoded name of the region as returned by
HRegionInfo#getEncodedNameAsBytes()
.tablename
- logSeqNum
- nonceGroup
- nonce
- @Deprecated 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
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.