public static class ReactiveZSetCommands.ZRankCommand extends ReactiveRedisConnection.KeyCommand
ZRANK/ZREVRANK command parameters.| Modifier and Type | Method and Description |
|---|---|
Sort.Direction |
getDirection() |
ByteBuffer |
getValue() |
static ReactiveZSetCommands.ZRankCommand |
indexOf(ByteBuffer member)
Creates a new
ReactiveZSetCommands.ZRankCommand given a member to obtain its rank (ordering low to high). |
static ReactiveZSetCommands.ZRankCommand |
reverseIndexOf(ByteBuffer member)
Creates a new
ReactiveZSetCommands.ZIncrByCommand given a member to obtain its reversed rank (ordering high
to low). |
ReactiveZSetCommands.ZRankCommand |
storedWithin(ByteBuffer key)
Applies the key.
|
getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static ReactiveZSetCommands.ZRankCommand indexOf(ByteBuffer member)
ReactiveZSetCommands.ZRankCommand given a member to obtain its rank (ordering low to high).member - must not be null.ReactiveZSetCommands.ZRankCommand for RedisZSetCommands.Tuple.public static ReactiveZSetCommands.ZRankCommand reverseIndexOf(ByteBuffer member)
ReactiveZSetCommands.ZIncrByCommand given a member to obtain its reversed rank (ordering high
to low).member - must not be null.ReactiveZSetCommands.ZRankCommand for RedisZSetCommands.Tuple.public ReactiveZSetCommands.ZRankCommand storedWithin(ByteBuffer key)
key - must not be null.ReactiveZSetCommands.ZRankCommand with key applied.public ByteBuffer getValue()
public Sort.Direction getDirection()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.