public static class ReactiveZSetCommands.ZRangeCommand extends ReactiveRedisConnection.KeyCommand
ZRANGE/ZREVRANGE command parameters.| Modifier and Type | Method and Description |
|---|---|
ReactiveZSetCommands.ZRangeCommand |
from(ByteBuffer key)
Applies the key.
|
Sort.Direction |
getDirection() |
Range<Long> |
getRange() |
boolean |
isWithScores() |
static ReactiveZSetCommands.ZRangeCommand |
reverseValuesWithin(Range<Long> range)
Creates a new
ReactiveZSetCommands.ZRangeCommand given a Range to obtain elements ordered from the highest to the
lowest score. |
static ReactiveZSetCommands.ZRangeCommand |
valuesWithin(Range<Long> range)
Creates a new
ReactiveZSetCommands.ZRangeCommand given a Range to obtain elements ordered from the lowest to the
highest score. |
ReactiveZSetCommands.ZRangeCommand |
withScores()
Return the score along with each returned element.
|
getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static ReactiveZSetCommands.ZRangeCommand valuesWithin(Range<Long> range)
ReactiveZSetCommands.ZRangeCommand given a Range to obtain elements ordered from the lowest to the
highest score.range - must not be null.ReactiveZSetCommands.ZRangeCommand for RedisZSetCommands.Tuple.public static ReactiveZSetCommands.ZRangeCommand reverseValuesWithin(Range<Long> range)
ReactiveZSetCommands.ZRangeCommand given a Range to obtain elements ordered from the highest to the
lowest score.range - must not be null.ReactiveZSetCommands.ZRangeCommand for RedisZSetCommands.Tuple.public ReactiveZSetCommands.ZRangeCommand withScores()
ReactiveZSetCommands.ZRangeCommand with score retrieval applied.public ReactiveZSetCommands.ZRangeCommand from(ByteBuffer key)
key - must not be null.ReactiveZSetCommands.ZRangeCommand with key applied.public boolean isWithScores()
public Sort.Direction getDirection()
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.