Uses of Interface
io.tarantool.driver.mappers.MessagePackValueMapper
-
Packages that use MessagePackValueMapper Package Description io.tarantool.driver.api Contains interfaces and classes essential for end-user driver APIio.tarantool.driver.api.connection Classes for working with connections to Tarantool instances.io.tarantool.driver.api.tuple Contains tuple representation classes and helpersio.tarantool.driver.core Driver core classesio.tarantool.driver.core.connection Contains classes for connection establishing and selection strategy invocation algorithms.io.tarantool.driver.core.metadata Contains implementations for Tarantool space metadata operationsio.tarantool.driver.core.space Contains implementations for Tarantool space operationsio.tarantool.driver.core.tuple Contains implementations of tuple representation classes and helpersio.tarantool.driver.mappers Contains converters and mappers that map Java object and MessagePackio.tarantool.driver.mappers.converters.value Contains converters that map MessagePack to Java object -
-
Uses of MessagePackValueMapper in io.tarantool.driver.api
Methods in io.tarantool.driver.api with parameters of type MessagePackValueMapper Modifier and Type Method Description CompletableFuture<List<?>>
TarantoolEvalOperations. eval(String expression, MessagePackValueMapper resultMapper)
Execute a Lua expression in the Tarantool instance.CompletableFuture<List<?>>
TarantoolEvalOperations. eval(String expression, List<?> arguments, MessagePackObjectMapper argumentsMapper, MessagePackValueMapper resultMapper)
Execute a Lua expression in the Tarantool instance.CompletableFuture<List<?>>
TarantoolEvalOperations. eval(String expression, List<?> arguments, MessagePackValueMapper resultMapper)
Execute a Lua expression in the Tarantool instance. -
Uses of MessagePackValueMapper in io.tarantool.driver.api.connection
Methods in io.tarantool.driver.api.connection with parameters of type MessagePackValueMapper Modifier and Type Method Description <T> CompletableFuture<T>
TarantoolConnection. sendRequest(TarantoolRequest request, MessagePackValueMapper resultMapper)
Send a prepared request to the Tarantool server and flush the buffer -
Uses of MessagePackValueMapper in io.tarantool.driver.api.tuple
Methods in io.tarantool.driver.api.tuple with parameters of type MessagePackValueMapper Modifier and Type Method Description boolean
TarantoolField. canConvertValue(Class<?> targetClass, MessagePackValueMapper mapper)
Check whether the underlying field value can be converted to an object using the given MessagePack-to-object mapperboolean
TarantoolNullField. canConvertValue(Class<?> targetClass, MessagePackValueMapper mapper)
Object
TarantoolField. getValue(MessagePackValueMapper mapper)
Get the field value, possibly converted to some Java type<O> O
TarantoolField. getValue(Class<O> targetClass, MessagePackValueMapper mapper)
Get the field value converted to the target typeObject
TarantoolNullField. getValue(MessagePackValueMapper mapper)
<O> O
TarantoolNullField. getValue(Class<O> targetClass, MessagePackValueMapper mapper)
-
Uses of MessagePackValueMapper in io.tarantool.driver.core
Methods in io.tarantool.driver.core that return MessagePackValueMapper Modifier and Type Method Description MessagePackValueMapper
TarantoolRequestMetadata. getMapper()
Methods in io.tarantool.driver.core with parameters of type MessagePackValueMapper Modifier and Type Method Description CompletableFuture<List<?>>
AbstractTarantoolClient. eval(String expression, MessagePackValueMapper resultMapper)
CompletableFuture<List<?>>
AbstractTarantoolClient. eval(String expression, List<?> arguments, MessagePackObjectMapper argumentsMapper, MessagePackValueMapper resultMapper)
CompletableFuture<List<?>>
AbstractTarantoolClient. eval(String expression, List<?> arguments, MessagePackValueMapper resultMapper)
CompletableFuture<List<?>>
ProxyTarantoolClient. eval(String expression, MessagePackValueMapper resultMapper)
CompletableFuture<List<?>>
ProxyTarantoolClient. eval(String expression, List<?> arguments, MessagePackObjectMapper argumentsMapper, MessagePackValueMapper resultMapper)
CompletableFuture<List<?>>
ProxyTarantoolClient. eval(String expression, List<?> arguments, MessagePackValueMapper resultMapper)
CompletableFuture<List<?>>
RetryingTarantoolClient. eval(String expression, MessagePackValueMapper resultMapper)
CompletableFuture<List<?>>
RetryingTarantoolClient. eval(String expression, List<?> arguments, MessagePackObjectMapper argumentsMapper, MessagePackValueMapper resultMapper)
CompletableFuture<List<?>>
RetryingTarantoolClient. eval(String expression, List<?> arguments, MessagePackValueMapper resultMapper)
<T> CompletableFuture<T>
RequestFutureManager. submitRequest(TarantoolRequest request, int requestTimeout, MessagePackValueMapper resultMapper)
Submit a request ID for tracking.<T> CompletableFuture<T>
RequestFutureManager. submitRequest(TarantoolRequest request, MessagePackValueMapper resultMapper)
Submit a request ID for tracking. -
Uses of MessagePackValueMapper in io.tarantool.driver.core.connection
Methods in io.tarantool.driver.core.connection with parameters of type MessagePackValueMapper Modifier and Type Method Description <T> CompletableFuture<T>
TarantoolConnectionImpl. sendRequest(TarantoolRequest request, MessagePackValueMapper resultMapper)
-
Uses of MessagePackValueMapper in io.tarantool.driver.core.metadata
Constructors in io.tarantool.driver.core.metadata with parameters of type MessagePackValueMapper Constructor Description TarantoolIndexMetadataConverter(MessagePackValueMapper mapper)
TarantoolSpaceMetadataConverter(MessagePackValueMapper mapper)
-
Uses of MessagePackValueMapper in io.tarantool.driver.core.space
Methods in io.tarantool.driver.core.space that return MessagePackValueMapper Modifier and Type Method Description protected abstract MessagePackValueMapper
TarantoolSpace. tupleResultMapper()
MessagePack value mapper configured with an ArrayValue to tuple converter corresponding to the selected tuple typeprotected MessagePackValueMapper
TarantoolTupleSpace. tupleResultMapper()
-
Uses of MessagePackValueMapper in io.tarantool.driver.core.tuple
Methods in io.tarantool.driver.core.tuple with parameters of type MessagePackValueMapper Modifier and Type Method Description boolean
TarantoolFieldImpl. canConvertValue(Class<?> targetClass, MessagePackValueMapper mapper)
Object
TarantoolFieldImpl. getValue(MessagePackValueMapper mapper)
<O> O
TarantoolFieldImpl. getValue(Class<O> targetClass, MessagePackValueMapper mapper)
-
Uses of MessagePackValueMapper in io.tarantool.driver.mappers
Subinterfaces of MessagePackValueMapper in io.tarantool.driver.mappers Modifier and Type Interface Description interface
MessagePackMapper
Combines both ObjectMapper and ValueMapper interfacesClasses in io.tarantool.driver.mappers that implement MessagePackValueMapper Modifier and Type Class Description class
AbstractResultMapper<T>
Base class for result tuple mappersclass
CallResultMapper<T,R extends CallResult<T>>
Special tuple mapper for API function call results.class
DefaultMessagePackMapper
Default implementation ofMessagePackObjectMapper
andMessagePackValueMapper
.class
DefaultMultiValueResultMapper<T,R extends List<T>>
Default mapper forMultiValueCallResult
with content types supported by the given value mapperclass
DefaultSingleValueResultMapper<T>
Default mapper forSingleValueCallResult
with content types supported by the given value mapperclass
TarantoolResultMapper<T>
Mapper from array of MessagePack tuples toTarantoolResult
Fields in io.tarantool.driver.mappers declared as MessagePackValueMapper Modifier and Type Field Description protected MessagePackValueMapper
AbstractResultMapper. valueMapper
Methods in io.tarantool.driver.mappers with parameters of type MessagePackValueMapper Modifier and Type Method Description protected abstract T
AbstractResultMapperFactory. createMapper(MessagePackValueMapper valueMapper, ValueConverter<org.msgpack.value.ArrayValue,? extends O> valueConverter, Class<? extends O> resultClass)
Instantiate the mapper for result contentsprotected CallResultMapper<T,R>
TarantoolCallResultMapperFactory. createMapper(MessagePackValueMapper valueMapper, ValueConverter<org.msgpack.value.ArrayValue,? extends R> valueConverter, Class<? extends R> resultClass)
protected TarantoolResultMapper<T>
TarantoolResultMapperFactory. createMapper(MessagePackValueMapper valueMapper, ValueConverter<org.msgpack.value.ArrayValue,? extends TarantoolResult<T>> valueConverter, Class<? extends TarantoolResult<T>> resultClass)
T
AbstractResultMapperFactory. withConverter(MessagePackValueMapper valueMapper, ValueConverter<org.msgpack.value.ArrayValue,? extends O> valueConverter)
CreateAbstractResultMapper
instance with the passed converter.T
AbstractResultMapperFactory. withConverter(MessagePackValueMapper valueMapper, ValueConverter<org.msgpack.value.ArrayValue,? extends O> valueConverter, Class<? extends O> resultClass)
CreateAbstractResultMapper
instance with the passed converter.CallResultMapper<R,MultiValueCallResult<T,R>>
MultiValueResultMapperFactory. withMultiValueResultConverter(MessagePackValueMapper valueMapper, ValueConverter<org.msgpack.value.ArrayValue,R> itemsConverter)
Get result mapper for the Lua function call with multi-return resultCallResultMapper<R,MultiValueCallResult<T,R>>
MultiValueResultMapperFactory. withMultiValueResultConverter(MessagePackValueMapper valueMapper, ValueConverter<org.msgpack.value.ArrayValue,R> itemsConverter, Class<? extends MultiValueCallResult<T,R>> resultClass)
Get result mapper for the Lua function call with multi-return resultCallResultMapper<T,SingleValueCallResult<T>>
SingleValueResultMapperFactory. withSingleValueResultConverter(MessagePackValueMapper valueMapper, ValueConverter<org.msgpack.value.Value,T> valueConverter)
Get result mapper for the Lua function call with single resultCallResultMapper<T,SingleValueCallResult<T>>
SingleValueResultMapperFactory. withSingleValueResultConverter(MessagePackValueMapper valueMapper, ValueConverter<org.msgpack.value.Value,T> valueConverter, Class<? extends SingleValueCallResult<T>> resultClass)
Get result mapper for the Lua function call with single resultCallResultMapper<TarantoolResult<T>,MultiValueCallResult<T,TarantoolResult<T>>>
MultiValueTarantoolResultMapperFactory. withTarantoolResultConverter(MessagePackValueMapper valueMapper, ValueConverter<org.msgpack.value.ArrayValue,T> valueConverter)
GetTarantoolResult
mapper for the Lua function call with single resultCallResultMapper<TarantoolResult<T>,MultiValueCallResult<T,TarantoolResult<T>>>
MultiValueTarantoolResultMapperFactory. withTarantoolResultConverter(MessagePackValueMapper valueMapper, ValueConverter<org.msgpack.value.ArrayValue,T> valueConverter, Class<? extends MultiValueCallResult<T,TarantoolResult<T>>> resultClass)
GetTarantoolResult
mapper for the Lua function call with single resultTarantoolResultMapper<T>
TupleResultMapperFactory. withTupleValueConverter(MessagePackValueMapper valueMapper, ValueConverter<org.msgpack.value.ArrayValue,T> tupleConverter)
Get converter for tuples inTarantoolResult
TarantoolResultMapper<T>
TupleResultMapperFactory. withTupleValueConverter(MessagePackValueMapper valueMapper, ValueConverter<org.msgpack.value.ArrayValue,T> tupleConverter, Class<? extends TarantoolResult<T>> resultClass)
Get converter for tuples inTarantoolResult
Constructors in io.tarantool.driver.mappers with parameters of type MessagePackValueMapper Constructor Description AbstractResultMapper(MessagePackValueMapper valueMapper, ValueConverter<org.msgpack.value.ArrayValue,? extends T> resultConverter, Class<? extends T> resultClass)
Basic constructorCallResultMapper(MessagePackValueMapper valueMapper, ValueConverter<org.msgpack.value.ArrayValue,? extends R> resultConverter, Class<? extends R> resultClass)
Basic constructorTarantoolResultMapper(MessagePackValueMapper valueMapper, ValueConverter<org.msgpack.value.ArrayValue,? extends TarantoolResult<T>> tupleConverter, Class<? extends TarantoolResult<T>> resultClass)
Basic constructor -
Uses of MessagePackValueMapper in io.tarantool.driver.mappers.converters.value
Constructors in io.tarantool.driver.mappers.converters.value with parameters of type MessagePackValueMapper Constructor Description DefaultArrayValueToListConverter(MessagePackValueMapper mapper)
DefaultMapValueToMapConverter(MessagePackValueMapper mapper)
-