Class TarantoolResultConverter<V extends org.msgpack.value.Value,T>
- java.lang.Object
-
- io.tarantool.driver.mappers.converters.value.custom.TarantoolResultConverter<V,T>
-
- All Implemented Interfaces:
Converter
,ValueConverter<V,TarantoolResult<T>>
,Serializable
public class TarantoolResultConverter<V extends org.msgpack.value.Value,T> extends Object implements ValueConverter<V,TarantoolResult<T>>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TarantoolResultConverter(ValueConverter<org.msgpack.value.ArrayValue,T> tupleConverter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TarantoolResult<T>
fromValue(V 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
-
TarantoolResultConverter
public TarantoolResultConverter(ValueConverter<org.msgpack.value.ArrayValue,T> tupleConverter)
-
-
Method Detail
-
fromValue
public TarantoolResult<T> fromValue(V value)
Description copied from interface:ValueConverter
Convert MessagePack entity to a Java object- Specified by:
fromValue
in interfaceValueConverter<V extends org.msgpack.value.Value,T>
- Parameters:
value
- entity- Returns:
- object
-
-