Package io.tarantool.driver.mappers
Contains converters and mappers that map Java object and MessagePack
-
Interface Summary Interface Description MessagePackMapper Combines both ObjectMapper and ValueMapper interfacesMessagePackObjectMapper Basic interface for generic converters between Java objects and MessagePack entities.MessagePackValueMapper Basic interface for collection of generic converters between MessagePack entities and Java objects.ResultMapperFactoryFactory Provides different factories for creating result mappers -
Class Summary Class Description AbstractResultMapper<T> Base class for result tuple mappersAbstractResultMapperFactory<O,T extends AbstractResultMapper<? extends O>> Base class for result mapper factories.CallResultMapper<T,R extends CallResult<T>> Special tuple mapper for API function call results.DefaultMessagePackMapper Default implementation ofMessagePackObjectMapper
andMessagePackValueMapper
.DefaultMessagePackMapper.Builder Builder forDefaultMessagePackMapper
DefaultMessagePackMapperFactory Provides shortcuts for instantiatingDefaultMessagePackMapper
DefaultMultiValueResultMapper<T,R extends List<T>> Default mapper forMultiValueCallResult
with content types supported by the given value mapperDefaultResultMapperFactoryFactory Manages instantiation of the operation result factoriesDefaultSingleValueResultMapper<T> Default mapper forSingleValueCallResult
with content types supported by the given value mapperMultiValueResultMapperFactory<T,R extends List<T>> Factory forCallResultMapper
instances used for handling Lua call multi-return result which is treated as a list of valuesMultiValueTarantoolResultMapperFactory<T> Factory forCallResultMapper
instances used for handling Lua call multi-return result items as list of tuplesSingleValueResultMapperFactory<T> Factory forCallResultMapper
instances used for handling Lua call results resulting in two possible values -- result and errorSingleValueTarantoolResultMapperFactory<T> Factory forCallResultMapper
instances used for handling Lua call results resulting in lists of tuplesTarantoolCallResultMapperFactory<T,R extends CallResult<T>> Factory forCallResultMapper
instances used for calling API functions on Tarantool instanceTarantoolResultMapper<T> Mapper from array of MessagePack tuples toTarantoolResult
TarantoolResultMapperFactory<T> Factory forTarantoolResultMapper
instances used for handling box protocol operation results returningTarantoolResult
(array of tuples)TarantoolTupleMultiResultMapperFactory Factory forCallResultMapper
instances used for handling results withTarantoolTuple
s as multi-return result itemsTarantoolTupleResultMapperFactory Factory forTarantoolResultMapper
instances used for handling results withTarantoolTuple
sTarantoolTupleSingleResultMapperFactory Factory forCallResultMapper
instances used for handling results withTarantoolTuple
sTupleResultMapperFactory<T> Factory forTarantoolResultMapper
instances used for handling results with tuples of any type -
Exception Summary Exception Description InterfaceParameterClassNotFoundException Represents all types of errors when the target interface parameter class cannot be determinedInterfaceParameterTypeNotFoundException Represents all types of errors when the target interface parameter type cannot be determinedMessagePackObjectMapperException Represents exceptions that occur while performing conversion between Java objects and MessagePack entitiesMessagePackValueMapperException Represents exceptions that occur while performing conversion between MessagePack entities and Java objects