public abstract class DBase<T extends com.google.protobuf.Message> extends Transportable implements Serializable
| 限定符和类型 | 字段和说明 |
|---|---|
protected T |
data
返回数据集合
|
body, json| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
getBody()
消息体字节数组
|
abstract com.google.protobuf.Message |
toBuilder()
转换ProtoBuf
|
T |
unpack(Class<T> clazz)
将Data解包成Message对象
|
deallocate, getType, toJson, toProto, touchprotected T extends com.google.protobuf.Message data
public DBase()
public DBase(String key)
public DBase(String key, long timestamp)
public abstract com.google.protobuf.Message toBuilder()
toBuilder 在类中 Transportablepublic byte[] getBody()
TransportablegetBody 在类中 TransportableCopyright © 2020–2022 The AIM Project. All rights reserved.