Class ZMpopArgs

java.lang.Object
io.quarkus.redis.datasource.sortedset.ZMpopArgs
All Implemented Interfaces:
RedisCommandExtraArguments

public class ZMpopArgs extends Object implements RedisCommandExtraArguments
  • Constructor Details

    • ZMpopArgs

      public ZMpopArgs()
  • Method Details

    • min

      public ZMpopArgs min()
      When the MIN modifier is used, the elements popped are those with the lowest scores from the first non-empty sorted set.
      Returns:
      the current ZmpopArgs
    • max

      public ZMpopArgs max()
      The MAX modifier causes elements with the highest scores to be popped.
      Returns:
      the current ZmpopArgs
    • count

      public ZMpopArgs count(int count)
      The optional COUNT can be used to specify the number of elements to pop, and is set to 1 by default.
      Parameters:
      count - the count value
      Returns:
      the current ZmpopArgs
    • toArgs

      public List<Object> toArgs()
      Specified by:
      toArgs in interface RedisCommandExtraArguments
      Returns:
      the list of arguments.