java.lang.Object
org.springframework.data.redis.connection.Limit
Direct Known Subclasses:
RedisZSetCommands.Limit

public class Limit extends Object
Since:
1.6
Author:
Christoph Strobl
  • Constructor Details

    • Limit

      public Limit()
  • Method Details

    • limit

      public static Limit limit()
    • offset

      public Limit offset(int offset)
    • count

      public Limit count(int count)
    • getCount

      public int getCount()
    • getOffset

      public int getOffset()
    • isUnlimited

      public boolean isUnlimited()
    • isLimited

      public boolean isLimited()
    • unlimited

      public static Limit unlimited()
      Returns:
      new Limit indicating no limit;
      Since:
      1.3