Class ScanArgs

java.lang.Object
io.quarkus.redis.datasource.ScanArgs
Direct Known Subclasses:
KeyScanArgs

public class ScanArgs extends Object
Represents the scan commands flags.
  • Constructor Details

    • ScanArgs

      public ScanArgs()
  • Method Details

    • count

      public ScanArgs count(long count)
      Sets the max number of items in each batch. The default value is 10.
      Parameters:
      count - the number of item, must be strictly positive
      Returns:
      the current ScanArgs
    • match

      public ScanArgs match(String pattern)
      Sets a MATCH pattern
      Parameters:
      pattern - the pattern, must not be null
      Returns:
      the current ScanArgs
    • toArgs

      public List<String> toArgs()