public class SingleValueWithTarantoolResultMapperFactory<T> extends SingleValueResultMapperFactory<TarantoolResult<T>>
CallResultMapper
instances used for handling Lua call results resulting in lists of
tuplesTarantoolResult
Constructor and Description |
---|
SingleValueWithTarantoolResultMapperFactory()
Basic constructor
|
SingleValueWithTarantoolResultMapperFactory(MessagePackMapper messagePackMapper)
Basic constructor with mapper
|
Modifier and Type | Method and Description |
---|---|
CallResultMapper<TarantoolResult<T>,SingleValueCallResult<TarantoolResult<T>>> |
withSingleValueArrayTarantoolResultConverter(ValueConverter<org.msgpack.value.ArrayValue,T> valueConverter)
Get
TarantoolResult mapper for the Lua function call with single result |
CallResultMapper<TarantoolResult<T>,SingleValueCallResult<TarantoolResult<T>>> |
withSingleValueArrayTarantoolResultConverter(ValueConverter<org.msgpack.value.ArrayValue,T> valueConverter,
Class<? extends SingleValueCallResult<TarantoolResult<T>>> resultClass)
Get
TarantoolResult mapper for the Lua function call with single result |
getSingleValueResultConverter, withSingleValueResultConverter, withSingleValueResultConverter, withSingleValueResultConverter, withSingleValueResultConverter, withSingleValueResultConverter, withSingleValueResultConverter
createMapper, createMapper, createMapper, createMapper
withConverter, withConverter, withConverter, withConverter, withConverters, withConverters, withConverterWithoutTargetClass, withConverterWithoutTargetClass
public SingleValueWithTarantoolResultMapperFactory()
public SingleValueWithTarantoolResultMapperFactory(MessagePackMapper messagePackMapper)
messagePackMapper
- mapper for MessagePack entities in tuple fields to Java objectspublic CallResultMapper<TarantoolResult<T>,SingleValueCallResult<TarantoolResult<T>>> withSingleValueArrayTarantoolResultConverter(ValueConverter<org.msgpack.value.ArrayValue,T> valueConverter)
TarantoolResult
mapper for the Lua function call with single resultvalueConverter
- the result content converterpublic CallResultMapper<TarantoolResult<T>,SingleValueCallResult<TarantoolResult<T>>> withSingleValueArrayTarantoolResultConverter(ValueConverter<org.msgpack.value.ArrayValue,T> valueConverter, Class<? extends SingleValueCallResult<TarantoolResult<T>>> resultClass)
TarantoolResult
mapper for the Lua function call with single resultvalueConverter
- the result content converterresultClass
- full result type classCopyright © 2025 Picodata. All rights reserved.