public static class RedisZSetCommands.Range extends Object
RedisZSetCommands.Range
defines min and max values to retrieve from a ZSET.Modifier and Type | Class and Description |
---|---|
static class |
RedisZSetCommands.Range.Boundary |
Constructor and Description |
---|
Range() |
Modifier and Type | Method and Description |
---|---|
RedisZSetCommands.Range.Boundary |
getMax() |
RedisZSetCommands.Range.Boundary |
getMin() |
RedisZSetCommands.Range |
gt(Object min)
Greater Than
|
RedisZSetCommands.Range |
gte(Object min)
Greater Than Equals
|
RedisZSetCommands.Range |
lt(Object max)
Less Than
|
RedisZSetCommands.Range |
lte(Object max)
Less Then Equals
|
static RedisZSetCommands.Range |
range() |
static RedisZSetCommands.Range |
unbounded() |
public static RedisZSetCommands.Range range()
RedisZSetCommands.Range
public static RedisZSetCommands.Range unbounded()
RedisZSetCommands.Range
with min and max set to RedisZSetCommands.Range.Boundary.infinite()
.public RedisZSetCommands.Range gte(Object min)
min
- must not be null.public RedisZSetCommands.Range gt(Object min)
min
- must not be null.public RedisZSetCommands.Range lte(Object max)
max
- must not be null.public RedisZSetCommands.Range lt(Object max)
max
- must not be null.@Nullable public RedisZSetCommands.Range.Boundary getMin()
@Nullable public RedisZSetCommands.Range.Boundary getMax()
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.