Class SingleValueCallResultConverter<T>
- java.lang.Object
-
- io.tarantool.driver.mappers.converters.value.custom.SingleValueCallResultConverter<T>
-
- All Implemented Interfaces:
Converter
,ValueConverter<org.msgpack.value.ArrayValue,SingleValueCallResult<T>>
,Serializable
public class SingleValueCallResultConverter<T> extends Object implements ValueConverter<org.msgpack.value.ArrayValue,SingleValueCallResult<T>>
Converter of the stored function call result into aSingleValueCallResult
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SingleValueCallResultConverter(ValueConverter<org.msgpack.value.Value,T> valueConverter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SingleValueCallResult<T>
fromValue(org.msgpack.value.ArrayValue value)
Convert MessagePack entity to a Java object-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.tarantool.driver.mappers.converters.ValueConverter
canConvertValue
-
-
-
-
Constructor Detail
-
SingleValueCallResultConverter
public SingleValueCallResultConverter(ValueConverter<org.msgpack.value.Value,T> valueConverter)
-
-
Method Detail
-
fromValue
public SingleValueCallResult<T> fromValue(org.msgpack.value.ArrayValue value)
Description copied from interface:ValueConverter
Convert MessagePack entity to a Java object- Specified by:
fromValue
in interfaceValueConverter<org.msgpack.value.ArrayValue,SingleValueCallResult<T>>
- Parameters:
value
- entity- Returns:
- object
-
-