|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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.
Strings 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.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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||