|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hbase.async.HBaseRpc org.hbase.async.RowLockRequest
public final class RowLockRequest
Acquires an explicit row lock.
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 argument
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.hbase.async.HBaseRpc |
---|
HBaseRpc.HasFamily, HBaseRpc.HasKey, HBaseRpc.HasQualifier, HBaseRpc.HasQualifiers, HBaseRpc.HasTable, HBaseRpc.HasTimestamp, HBaseRpc.HasValue, HBaseRpc.HasValues |
Constructor Summary | |
---|---|
RowLockRequest(byte[] table,
byte[] key)
Constructor. |
|
RowLockRequest(String table,
String key)
Constructor. |
Method Summary | |
---|---|
byte[] |
key()
Returns the row key this RPC is for. |
byte[] |
table()
Returns the name of the table this RPC is for. |
Methods inherited from class org.hbase.async.HBaseRpc |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 RowLockRequest(String table, String key)
table
- The table containing the row to lock.key
- The key of the row to lock in that table.Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |