Class KeyValueValueListOutput<K,​V>

  • Type Parameters:
    K - Key type.
    V - Value type.

    public class KeyValueValueListOutput<K,​V>
    extends CommandOutput<K,​V,​KeyValue<K,​List<V>>>
    Key-value pair output holding a list of values.
    Since:
    6.2
    Author:
    Mark Paluch
    • Constructor Detail

      • KeyValueValueListOutput

        public KeyValueValueListOutput​(RedisCodec<K,​V> codec)
    • Method Detail

      • set

        public void set​(ByteBuffer bytes)
        Description copied from class: CommandOutput
        Update the command output with a sequence of bytes, or null. Concrete CommandOutput implementations must override this method to decode bulk/bytes response values.
        Overrides:
        set in class CommandOutput<K,​V,​KeyValue<K,​List<V>>>
        Parameters:
        bytes - The command output, or null.
      • multi

        public void multi​(int count)
        Description copied from class: CommandOutput
        Mark the beginning of a multi sequence (array).
        Overrides:
        multi in class CommandOutput<K,​V,​KeyValue<K,​List<V>>>
        Parameters:
        count - expected number of elements in this multi sequence.
      • complete

        public void complete​(int depth)
        Description copied from class: CommandOutput
        Mark the command output complete.
        Overrides:
        complete in class CommandOutput<K,​V,​KeyValue<K,​List<V>>>
        Parameters:
        depth - Remaining depth of output queue.