public final class RowLockRequest extends HBaseRpc implements HBaseRpc.HasTable, HBaseRpc.HasKey
Row locks are no longer supported as of HBase 0.96.
While they can still be used with earlier HBase versions,
attempting to use them with HBase 0.95 and up will cause a
UnsupportedOperationException to be thrown.
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.HasKey