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
.
String
s 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.HasTable
DO NOT MODIFY THE CONTENTS OF THE ARRAY RETURNED.
table
in interface HBaseRpc.HasTable
public byte[] key()
HBaseRpc.HasKey
DO NOT MODIFY THE CONTENTS OF THE ARRAY RETURNED.
key
in interface HBaseRpc.HasKey
Copyright ? 2010-2014, The Async HBase Authors