public class KeyInfo extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected byte[] |
key |
protected int |
key_len |
protected byte[] |
namespace |
protected int |
namespace_len |
protected int |
obj_id_len |
protected byte[] |
object_id |
| 构造器和说明 |
|---|
KeyInfo(byte[] namespace,
byte[] object_id,
byte[] key) |
KeyInfo(String namespace,
String object_id,
String key) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getHashCode() |
byte[] |
getKey() |
byte[] |
getNamespace() |
byte[] |
getObjectId() |
int |
getPackLength() |
int |
pack(byte[] bsPackage,
int offset) |
protected byte[] namespace
protected byte[] object_id
protected byte[] key
protected int namespace_len
protected int obj_id_len
protected int key_len
public KeyInfo(byte[] namespace,
byte[] object_id,
byte[] key)
throws UnsupportedEncodingException,
MyException
public KeyInfo(String namespace, String object_id, String key) throws UnsupportedEncodingException, MyException
Copyright © 2017. All rights reserved.