Class TarantoolOkResult


  • public class TarantoolOkResult
    extends Object
    Incapsulates the result data returned in Tarantool server response
    • Constructor Detail

      • TarantoolOkResult

        public TarantoolOkResult​(Long syncId,
                                 org.msgpack.value.Value body)
        Basic constructor.
        Parameters:
        syncId - the request ID passed back from Tarantool server
        body - response body containing the result data
    • Method Detail

      • getSyncId

        public Long getSyncId()
        Get request ID a.k.a. sync ID
        Returns:
        a number
      • getData

        public org.msgpack.value.Value getData()
        Get response data
        Returns:
        a MessagePack entity