Class RedisZSetCommands.Range

java.lang.Object
org.springframework.data.redis.connection.RedisZSetCommands.Range
Enclosing interface:
RedisZSetCommands

@Deprecated public static class RedisZSetCommands.Range extends Object
Deprecated.
since 3.0, use Range or toRange() instead.
Range defines min and max values to retrieve from a ZSET.
Since:
1.6
Author:
Christoph Strobl
  • Constructor Details

    • Range

      public Range()
      Deprecated.
  • Method Details

    • range

      public static RedisZSetCommands.Range range()
      Deprecated.
      Returns:
      new Range
    • unbounded

      public static RedisZSetCommands.Range unbounded()
      Deprecated.
      Returns:
      new Range with min and max set to RedisZSetCommands.Range.Boundary.infinite().
    • gte

      public RedisZSetCommands.Range gte(Object min)
      Deprecated.
      Greater Than Equals
      Parameters:
      min - must not be null.
      Returns:
      this.
    • gt

      Deprecated.
      Greater Than
      Parameters:
      min - must not be null.
      Returns:
      this.
    • lte

      public RedisZSetCommands.Range lte(Object max)
      Deprecated.
      Less Then Equals
      Parameters:
      max - must not be null.
      Returns:
      this.
    • lt

      Deprecated.
      Less Than
      Parameters:
      max - must not be null.
      Returns:
      this.
    • getMin

      @Nullable public RedisZSetCommands.Range.Boundary getMin()
      Deprecated.
      Returns:
      null if not set.
    • getMax

      @Nullable public RedisZSetCommands.Range.Boundary getMax()
      Deprecated.
      Returns:
      null if not set.
    • toRange

      public <T> org.springframework.data.domain.Range<T> toRange()
      Deprecated.
      Create a Range object from this range.
      Returns:
      a Range object using bounds from this range.
      Since:
      3.0