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.
|
org.springframework.data.domain.Sort.Direction |
getDirection() |
org.springframework.data.domain.Range<Long> |
getRange() |
boolean |
isWithScores() |
static ReactiveZSetCommands.ZRangeCommand |
reverseValuesWithin(org.springframework.data.domain.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(org.springframework.data.domain.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.
|
getKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public static ReactiveZSetCommands.ZRangeCommand valuesWithin(org.springframework.data.domain.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(org.springframework.data.domain.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 org.springframework.data.domain.Range<Long> getRange()
public boolean isWithScores()
public org.springframework.data.domain.Sort.Direction getDirection()
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.