public final class RowLockRequest extends HBaseRpc implements HBaseRpc.HasTable, HBaseRpc.HasKey
For a description of what row locks are, see RowLock.
byte arrays in argumentbyte[] in argument will copy it.
For more info, please refer to the documentation of HBaseRpc.
Strings in argumentHBaseRpc.HasFamily, HBaseRpc.HasKey, HBaseRpc.HasQualifier, HBaseRpc.HasQualifiers, HBaseRpc.HasTable, HBaseRpc.HasTimestamp, HBaseRpc.HasValue, HBaseRpc.HasValues| Constructor and Description |
|---|
RowLockRequest(byte[] table,
byte[] key)
Constructor.
|
RowLockRequest(String table,
String key)
Constructor.
|
public RowLockRequest(byte[] table,
byte[] key)
table - The table containing the row to lock.key - The key of the row to lock in that table.public byte[] table()
HBaseRpc.HasTableDO NOT MODIFY THE CONTENTS OF THE ARRAY RETURNED.
table in interface HBaseRpc.HasTablepublic byte[] key()
HBaseRpc.HasKeyDO NOT MODIFY THE CONTENTS OF THE ARRAY RETURNED.
key in interface HBaseRpc.HasKeyCopyright ? 2010-2014, The Async HBase Authors