public interface TarantoolField extends Packable
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
|
<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
|
toMessagePackValue
<O> O getValue(Class<O> targetClass, MessagePackValueMapper mapper)
O
- the target typetargetClass
- the target type classmapper
- mapper for converting MessagePack entity to Java objectObject getValue(MessagePackValueMapper mapper)
mapper
- mapper for converting MessagePack entity to Java objectboolean canConvertValue(Class<?> targetClass, MessagePackValueMapper mapper)
targetClass
- the target type classmapper
- mapper for converting MessagePack entity to Java objectCopyright © 2025 Picodata. All rights reserved.