public static class ReactiveZSetCommands.ZRangeByScoreCommand extends ReactiveRedisConnection.KeyCommand
| Modifier and Type | Method and Description |
|---|---|
ReactiveZSetCommands.ZRangeByScoreCommand |
from(ByteBuffer key)
Applies the key.
|
Sort.Direction |
getDirection() |
Optional<RedisZSetCommands.Limit> |
getLimit() |
Range<Double> |
getRange() |
boolean |
isWithScores() |
ReactiveZSetCommands.ZRangeByScoreCommand |
limitTo(RedisZSetCommands.Limit limit)
Applies the
RedisZSetCommands.Limit. |
static ReactiveZSetCommands.ZRangeByScoreCommand |
reverseScoresWithin(Range<Double> range)
Creates a new
ReactiveZSetCommands.ZRangeByScoreCommand given a Range to obtain elements ordered from the highest to
the lowest score. |
static ReactiveZSetCommands.ZRangeByScoreCommand |
scoresWithin(Range<Double> range)
Creates a new
ReactiveZSetCommands.ZRangeByScoreCommand given a Range to obtain elements ordered from the lowest to
the highest score. |
ReactiveZSetCommands.ZRangeByScoreCommand |
withScores()
Return the score along with each returned element.
|
getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static ReactiveZSetCommands.ZRangeByScoreCommand scoresWithin(Range<Double> range)
ReactiveZSetCommands.ZRangeByScoreCommand given a Range to obtain elements ordered from the lowest to
the highest score.range - must not be null.ReactiveZSetCommands.ZRangeByScoreCommand for RedisZSetCommands.Tuple.public static ReactiveZSetCommands.ZRangeByScoreCommand reverseScoresWithin(Range<Double> range)
ReactiveZSetCommands.ZRangeByScoreCommand given a Range to obtain elements ordered from the highest to
the lowest score.range - must not be null.ReactiveZSetCommands.ZRangeByScoreCommand for RedisZSetCommands.Tuple.public ReactiveZSetCommands.ZRangeByScoreCommand withScores()
ReactiveZSetCommands.ZRangeByScoreCommand with score retrieval applied.public ReactiveZSetCommands.ZRangeByScoreCommand from(ByteBuffer key)
key - must not be null.ReactiveZSetCommands.ZRangeByScoreCommand with key applied.public ReactiveZSetCommands.ZRangeByScoreCommand limitTo(RedisZSetCommands.Limit limit)
RedisZSetCommands.Limit. Constructs a new command instance with all previously configured properties.limit - must not be null.ReactiveZSetCommands.ZRangeByScoreCommand with RedisZSetCommands.Limit applied.public boolean isWithScores()
public Sort.Direction getDirection()
public Optional<RedisZSetCommands.Limit> getLimit()
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.