public class TarantoolFieldImpl extends Object implements TarantoolField
Modifier and Type | Method and Description |
---|---|
boolean |
canConvertValue(Class<?> targetClass,
MessagePackValueMapper mapper)
Check whether the underlying field value can be converted to an object using the given MessagePack-to-object
mapper
|
boolean |
equals(Object o) |
<O> O |
getValue(Class<O> targetClass,
MessagePackValueMapper mapper)
Get the field value converted to the target type
|
Object |
getValue(MessagePackValueMapper mapper)
Get the field value, possibly converted to some Java type
|
int |
hashCode() |
org.msgpack.value.Value |
toMessagePackValue(MessagePackObjectMapper mapper)
Convert this instance into a corresponding MessagePack
Value |
String |
toString() |
public org.msgpack.value.Value toMessagePackValue(MessagePackObjectMapper mapper)
Packable
Value
toMessagePackValue
in interface Packable
mapper
- configured Java objects to entities mapperpublic <O> O getValue(Class<O> targetClass, MessagePackValueMapper mapper)
TarantoolField
getValue
in interface TarantoolField
O
- the target typetargetClass
- the target type classmapper
- mapper for converting MessagePack entity to Java objectpublic Object getValue(MessagePackValueMapper mapper)
TarantoolField
getValue
in interface TarantoolField
mapper
- mapper for converting MessagePack entity to Java objectpublic boolean canConvertValue(Class<?> targetClass, MessagePackValueMapper mapper)
TarantoolField
canConvertValue
in interface TarantoolField
targetClass
- the target type classmapper
- mapper for converting MessagePack entity to Java objectCopyright © 2025 Picodata. All rights reserved.