Class RedisZSetCommands.Range
java.lang.Object
org.springframework.data.redis.connection.RedisZSetCommands.Range
- Enclosing interface:
- RedisZSetCommands
RedisZSetCommands.Range
defines min and max values to retrieve from a ZSET.- Since:
- 1.6
- Author:
- Christoph Strobl
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMax()
getMin()
Greater ThanGreater Than EqualsLess ThanLess Then Equalsstatic RedisZSetCommands.Range
range()
static RedisZSetCommands.Range
-
Constructor Details
-
Range
public Range()
-
-
Method Details
-
range
- Returns:
- new
RedisZSetCommands.Range
-
unbounded
- Returns:
- new
RedisZSetCommands.Range
with min and max set toRedisZSetCommands.Range.Boundary.infinite()
.
-
gte
Greater Than Equals- Parameters:
min
- must not be null.- Returns:
- this.
-
gt
Greater Than- Parameters:
min
- must not be null.- Returns:
- this.
-
lte
Less Then Equals- Parameters:
max
- must not be null.- Returns:
- this.
-
lt
Less Than- Parameters:
max
- must not be null.- Returns:
- this.
-
getMin
- Returns:
- null if not set.
-
getMax
- Returns:
- null if not set.
-