@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.VersionclusterIds, compressionContext, EMPTY_UUIDS, encodedRegionName, logSeqNum, NO_SEQUENCE_ID, tablename, VERSION, writeTime| 构造器和说明 |
|---|
HLogKey()
已过时。
|
HLogKey(byte[] encodedRegionName,
TableName tablename)
已过时。
|
HLogKey(byte[] encodedRegionName,
TableName tablename,
long now)
已过时。
|
HLogKey(byte[] encodedRegionName,
TableName tablename,
long now,
List<UUID> clusterIds,
long nonceGroup,
long nonce,
MultiVersionConcurrencyControl mvcc)
已过时。
Create the log key for writing to somewhere.
|
HLogKey(byte[] encodedRegionName,
TableName tablename,
long logSeqNum,
long now,
List<UUID> clusterIds,
long nonceGroup,
long nonce,
MultiVersionConcurrencyControl mvcc)
已过时。
Create the log key for writing to somewhere.
|
HLogKey(byte[] encodedRegionName,
TableName tablename,
long logSeqNum,
long nonceGroup,
long nonce,
MultiVersionConcurrencyControl mvcc)
已过时。
Create the log key for writing to somewhere.
|
HLogKey(byte[] encodedRegionName,
TableName tablename,
long logSeqNum,
long now,
UUID clusterId)
已过时。
|
HLogKey(byte[] encodedRegionName,
TableName tablename,
long now,
MultiVersionConcurrencyControl mvcc)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
readFields(DataInput in)
已过时。
|
void |
write(DataOutput out)
已过时。
Don't use these Writables methods. Use PB instead.
|
addClusterId, compareTo, equals, estimatedSerializedSizeOf, getBuilder, getClusterIds, getEncodedRegionName, getLogSeqNum, getMvcc, getNonce, getNonceGroup, getOriginatingClusterId, getOrigLogSeqNum, getScopes, getSequenceId, getTablename, getWriteEntry, getWriteTime, hashCode, init, readFieldsFromPb, readOlderScopes, setCompressionContext, setOrigLogSeqNum, setScopes, setWriteEntry, toString, toStringMappublic 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 now,
MultiVersionConcurrencyControl mvcc)
public HLogKey(byte[] encodedRegionName,
TableName tablename,
long logSeqNum,
long now,
List<UUID> clusterIds,
long nonceGroup,
long nonce,
MultiVersionConcurrencyControl mvcc)
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,
MultiVersionConcurrencyControl mvcc)
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,
MultiVersionConcurrencyControl mvcc)
encodedRegionName - Encoded name of the region as returned by
HRegionInfo#getEncodedNameAsBytes().tablename - logSeqNum - nonceGroup - nonce - @Deprecated public void write(DataOutput out) throws IOException
write 在接口中 org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields 在接口中 org.apache.hadoop.io.WritableIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.