Package | Description |
---|---|
io.picodata.driver.mappers.factories |
Contains factories for mappers and mappers stacks
|
Modifier and Type | Method and Description |
---|---|
ResultMapperFactoryFactory.Builder |
ResultMapperFactoryFactory.createMapper(MessagePackMapper messagePackMapper)
Return builder to create mapper which may depend on input clientMapper
For example, you can create maper that can obtain crud and box results from lua
and read it into
TarantoolTupleResult structure. |
ResultMapperFactoryFactory.Builder |
ResultMapperFactoryFactory.createMapper(MessagePackMapper messagePackMapper,
TarantoolSpaceMetadata spaceMetadata)
Return builder to create mapper which may depend on input clientMapper
For example, you can create maper that can obtain crud and box results from lua
and read it into
TarantoolTupleResult structure. |
ResultMapperFactoryFactory.Builder |
ResultMapperFactoryFactory.Builder.withArrayValueToTarantoolTupleResultConverter()
Add converter parses result from a list of tuples.
|
ResultMapperFactoryFactory.Builder |
ResultMapperFactoryFactory.Builder.withArrayValueToTarantoolTupleResultConverter(MessagePackMapper messagePackMapper)
Add converter parses result from a list of tuples.
|
ResultMapperFactoryFactory.Builder |
ResultMapperFactoryFactory.Builder.withRowsMetadataToTarantoolTupleResultConverter()
Add converter parses result from a map with list of tuples and metadata.
|
ResultMapperFactoryFactory.Builder |
ResultMapperFactoryFactory.Builder.withRowsMetadataToTarantoolTupleResultConverter(MessagePackMapper messagePackMapper)
Add converter parses result from a map with list of tuples and metadata.
|
ResultMapperFactoryFactory.Builder |
ResultMapperFactoryFactory.Builder.withSingleValueConverter()
Add a converter for mapping stored Lua function call results to
SingleValueCallResult
input: [x, y, ...], MessagePack array from a Lua function multi-return response
where x, y are some MessagePack values. |
ResultMapperFactoryFactory.Builder |
ResultMapperFactoryFactory.Builder.withSingleValueConverter(MessagePackValueMapper messagePackMapper)
Add a converter for mapping stored Lua function call results to
SingleValueCallResult
input: [x, y, ...], MessagePack array from a Lua function multi-return response
where x, y are some MessagePack values. |
Copyright © 2025 Picodata. All rights reserved.