public class PrimaryKeyValueObject extends Object
| 构造器和说明 |
|---|
PrimaryKeyValueObject(Object value,
PrimaryKeyTypeObject type) |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
asBinary() |
int |
asInt() |
long |
asLong() |
String |
asString() |
static PrimaryKeyValueObject |
fromBinary(byte[] value) |
static PrimaryKeyValueObject |
fromInt(int value) |
static PrimaryKeyValueObject |
fromLong(long value) |
static PrimaryKeyValueObject |
fromString(String value) |
byte[] |
getRawData() |
PrimaryKeyTypeObject |
getType() |
Object |
getValue() |
void |
setRawData(byte[] rawData) |
void |
setType(PrimaryKeyTypeObject type) |
void |
setValue(Object value) |
public PrimaryKeyValueObject(Object value, PrimaryKeyTypeObject type)
public static PrimaryKeyValueObject fromString(String value)
public static PrimaryKeyValueObject fromLong(long value)
public static PrimaryKeyValueObject fromInt(int value)
public static PrimaryKeyValueObject fromBinary(byte[] value)
public Object getValue()
public String asString()
public long asLong()
public int asInt()
public byte[] asBinary()
public void setValue(Object value)
public byte[] getRawData()
public void setRawData(byte[] rawData)
public PrimaryKeyTypeObject getType()
public void setType(PrimaryKeyTypeObject type)
Copyright © 2019. All rights reserved.