You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, nested structures may be passed only as maps (despite whether the structure is a simple object or an entity). This may be not efficient in case if the structures are merged as a result of a map-reduce operation resembling a "join", especially in the case of collections of structures, since it requires using "tomap" operation on each tuple corresponding to a nested structure.
We need to provide a way for deserializing nested structures from tuples.
Possible solution:
Allow specifying the serialized source type for the object fields that contain nested structures with some kind of annotation (e.g. @Field(serialize = TarantoolSerializationType.TUPLE))
The text was updated successfully, but these errors were encountered:
Is it possible somehow through the Repository/Query interface to put a non-nested interface like list/tuple?
I could not send the non-nested structure to the Tarantool as a list/tuple
In the comment above, I pointed out that I cannot pass an object in a function argument as a tuple without field keys, i.e. this will always be a Map(if the @Query method is used). And there is a wish to be able to transfer the list/tuple, since extra handover of keys affects the performance
Currently, nested structures may be passed only as maps (despite whether the structure is a simple object or an entity). This may be not efficient in case if the structures are merged as a result of a map-reduce operation resembling a "join", especially in the case of collections of structures, since it requires using "tomap" operation on each tuple corresponding to a nested structure.
We need to provide a way for deserializing nested structures from tuples.
Possible solution:
Allow specifying the serialized source type for the object fields that contain nested structures with some kind of annotation (e.g.
@Field(serialize = TarantoolSerializationType.TUPLE)
)The text was updated successfully, but these errors were encountered: