Uses of Class
io.lettuce.core.KeyValue
| Package | Description |
|---|---|
| io.lettuce.core |
The Redis client package containing
RedisClient for Redis Standalone and Redis Sentinel operations. |
| io.lettuce.core.api.async |
Standalone Redis API for asynchronous executed commands.
|
| io.lettuce.core.api.reactive |
Standalone Redis API for reactive command execution.
|
| io.lettuce.core.api.sync |
Standalone Redis API for synchronous executed commands.
|
| io.lettuce.core.cluster |
Client for Redis Cluster, see
RedisClusterClient. |
| io.lettuce.core.cluster.api.async |
Redis Cluster API for asynchronous executed commands.
|
| io.lettuce.core.cluster.api.reactive |
Redis Cluster API for reactive command execution.
|
| io.lettuce.core.cluster.api.sync |
Redis Cluster API for synchronous executed commands.
|
| io.lettuce.core.output |
Implementation of different output protocols including the Streaming API.
|
-
Uses of KeyValue in io.lettuce.core
Methods in io.lettuce.core that return KeyValue Modifier and Type Method Description static <K, V> KeyValue<K,V>KeyValue. empty(K key)Returns an emptyKeyValueinstance with thekeyset.static <K, T extends V, V>
KeyValue<K,V>KeyValue. from(K key, Optional<T> optional)static <K, T extends V, V>
KeyValue<K,V>KeyValue. fromNullable(K key, T value)static <K, T extends V, V>
KeyValue<K,V>KeyValue. just(K key, T value)<R> KeyValue<K,R>KeyValue. map(Function<? super V,? extends R> mapper)Returns aKeyValueconsisting of the results of applying the given function to the value of this element.Methods in io.lettuce.core that return types with arguments of type KeyValue Modifier and Type Method Description RedisFuture<KeyValue<K,V>>AbstractRedisAsyncCommands. blpop(long timeout, K... keys)Mono<KeyValue<K,V>>AbstractRedisReactiveCommands. blpop(long timeout, K... keys)RedisFuture<KeyValue<K,V>>AbstractRedisAsyncCommands. brpop(long timeout, K... keys)Mono<KeyValue<K,V>>AbstractRedisReactiveCommands. brpop(long timeout, K... keys)RedisFuture<KeyValue<K,ScoredValue<V>>>AbstractRedisAsyncCommands. bzpopmax(long timeout, K... keys)Mono<KeyValue<K,ScoredValue<V>>>AbstractRedisReactiveCommands. bzpopmax(long timeout, K... keys)RedisFuture<KeyValue<K,ScoredValue<V>>>AbstractRedisAsyncCommands. bzpopmin(long timeout, K... keys)Mono<KeyValue<K,ScoredValue<V>>>AbstractRedisReactiveCommands. bzpopmin(long timeout, K... keys)Flux<KeyValue<K,V>>AbstractRedisReactiveCommands. hgetall(K key)RedisFuture<List<KeyValue<K,V>>>AbstractRedisAsyncCommands. hmget(K key, K... fields)Flux<KeyValue<K,V>>AbstractRedisReactiveCommands. hmget(K key, K... fields)RedisFuture<KeyValue<K,V>>AbstractRedisAsyncCommands. hrandfieldWithvalues(K key)RedisFuture<List<KeyValue<K,V>>>AbstractRedisAsyncCommands. hrandfieldWithvalues(K key, long count)Mono<KeyValue<K,V>>AbstractRedisReactiveCommands. hrandfieldWithvalues(K key)Flux<KeyValue<K,V>>AbstractRedisReactiveCommands. hrandfieldWithvalues(K key, long count)static <K, V> ScanIterator<KeyValue<K,V>>ScanIterator. hscan(RedisHashCommands<K,V> commands, K key)Sequentially iterate over entries in a hash identified bykey.static <K, V> ScanIterator<KeyValue<K,V>>ScanIterator. hscan(RedisHashCommands<K,V> commands, K key, ScanArgs scanArgs)Sequentially iterate over entries in a hash identified bykey.static <K, V> Flux<KeyValue<K,V>>ScanStream. hscan(RedisHashReactiveCommands<K,V> commands, K key)Sequentially iterate over entries in a hash identified bykey.static <K, V> Flux<KeyValue<K,V>>ScanStream. hscan(RedisHashReactiveCommands<K,V> commands, K key, ScanArgs scanArgs)Sequentially iterate over entries in a hash identified bykey.RedisFuture<List<KeyValue<K,V>>>AbstractRedisAsyncCommands. mget(Iterable<K> keys)RedisFuture<List<KeyValue<K,V>>>AbstractRedisAsyncCommands. mget(K... keys)Flux<KeyValue<K,V>>AbstractRedisReactiveCommands. mget(Iterable<K> keys)Flux<KeyValue<K,V>>AbstractRedisReactiveCommands. mget(K... keys) -
Uses of KeyValue in io.lettuce.core.api.async
Methods in io.lettuce.core.api.async that return types with arguments of type KeyValue Modifier and Type Method Description RedisFuture<KeyValue<K,V>>RedisListAsyncCommands. blpop(long timeout, K... keys)Remove and get the first element in a list, or block until one is available.RedisFuture<KeyValue<K,V>>RedisListAsyncCommands. brpop(long timeout, K... keys)Remove and get the last element in a list, or block until one is available.RedisFuture<KeyValue<K,ScoredValue<V>>>RedisSortedSetAsyncCommands. bzpopmax(long timeout, K... keys)Removes and returns a member with the highest scores in the sorted set stored at one of the keys.RedisFuture<KeyValue<K,ScoredValue<V>>>RedisSortedSetAsyncCommands. bzpopmin(long timeout, K... keys)Removes and returns a member with the lowest scores in the sorted set stored at one of the keys.RedisFuture<List<KeyValue<K,V>>>RedisHashAsyncCommands. hmget(K key, K... fields)Get the values of all the given hash fields.RedisFuture<KeyValue<K,V>>RedisHashAsyncCommands. hrandfieldWithvalues(K key)Return a random field along its value from the hash stored atkey.RedisFuture<List<KeyValue<K,V>>>RedisHashAsyncCommands. hrandfieldWithvalues(K key, long count)Returncountrandom fields along their value from the hash stored atkey.RedisFuture<List<KeyValue<K,V>>>RedisStringAsyncCommands. mget(K... keys)Get the values of all the given keys. -
Uses of KeyValue in io.lettuce.core.api.reactive
Methods in io.lettuce.core.api.reactive that return types with arguments of type KeyValue Modifier and Type Method Description Mono<KeyValue<K,V>>RedisListReactiveCommands. blpop(long timeout, K... keys)Remove and get the first element in a list, or block until one is available.Mono<KeyValue<K,V>>RedisListReactiveCommands. brpop(long timeout, K... keys)Remove and get the last element in a list, or block until one is available.Mono<KeyValue<K,ScoredValue<V>>>RedisSortedSetReactiveCommands. bzpopmax(long timeout, K... keys)Removes and returns a member with the highest scores in the sorted set stored at one of the keys.Mono<KeyValue<K,ScoredValue<V>>>RedisSortedSetReactiveCommands. bzpopmin(long timeout, K... keys)Removes and returns a member with the lowest scores in the sorted set stored at one of the keys.Flux<KeyValue<K,V>>RedisHashReactiveCommands. hgetall(K key)Get all the fields and values in a hash.Flux<KeyValue<K,V>>RedisHashReactiveCommands. hmget(K key, K... fields)Get the values of all the given hash fields.Mono<KeyValue<K,V>>RedisHashReactiveCommands. hrandfieldWithvalues(K key)Return a random field along its value from the hash stored atkey.Flux<KeyValue<K,V>>RedisHashReactiveCommands. hrandfieldWithvalues(K key, long count)Returncountrandom fields along their value from the hash stored atkey.Flux<KeyValue<K,V>>RedisStringReactiveCommands. mget(K... keys)Get the values of all the given keys. -
Uses of KeyValue in io.lettuce.core.api.sync
Methods in io.lettuce.core.api.sync that return KeyValue Modifier and Type Method Description KeyValue<K,V>RedisListCommands. blpop(long timeout, K... keys)Remove and get the first element in a list, or block until one is available.KeyValue<K,V>RedisListCommands. brpop(long timeout, K... keys)Remove and get the last element in a list, or block until one is available.KeyValue<K,ScoredValue<V>>RedisSortedSetCommands. bzpopmax(long timeout, K... keys)Removes and returns a member with the highest scores in the sorted set stored at one of the keys.KeyValue<K,ScoredValue<V>>RedisSortedSetCommands. bzpopmin(long timeout, K... keys)Removes and returns a member with the lowest scores in the sorted set stored at one of the keys.KeyValue<K,V>RedisHashCommands. hrandfieldWithvalues(K key)Return a random field along its value from the hash stored atkey.Methods in io.lettuce.core.api.sync that return types with arguments of type KeyValue Modifier and Type Method Description List<KeyValue<K,V>>RedisHashCommands. hmget(K key, K... fields)Get the values of all the given hash fields.List<KeyValue<K,V>>RedisHashCommands. hrandfieldWithvalues(K key, long count)Returncountrandom fields along their value from the hash stored atkey.List<KeyValue<K,V>>RedisStringCommands. mget(K... keys)Get the values of all the given keys. -
Uses of KeyValue in io.lettuce.core.cluster
Methods in io.lettuce.core.cluster that return types with arguments of type KeyValue Modifier and Type Method Description RedisFuture<List<KeyValue<K,V>>>RedisAdvancedClusterAsyncCommandsImpl. mget(Iterable<K> keys)RedisFuture<List<KeyValue<K,V>>>RedisAdvancedClusterAsyncCommandsImpl. mget(K... keys)Flux<KeyValue<K,V>>RedisAdvancedClusterReactiveCommandsImpl. mget(Iterable<K> keys)Flux<KeyValue<K,V>>RedisAdvancedClusterReactiveCommandsImpl. mget(K... keys) -
Uses of KeyValue in io.lettuce.core.cluster.api.async
Methods in io.lettuce.core.cluster.api.async that return types with arguments of type KeyValue Modifier and Type Method Description AsyncExecutions<KeyValue<K,V>>NodeSelectionListAsyncCommands. blpop(long timeout, K... keys)Remove and get the first element in a list, or block until one is available.AsyncExecutions<KeyValue<K,V>>NodeSelectionListAsyncCommands. brpop(long timeout, K... keys)Remove and get the last element in a list, or block until one is available.AsyncExecutions<KeyValue<K,ScoredValue<V>>>NodeSelectionSortedSetAsyncCommands. bzpopmax(long timeout, K... keys)Removes and returns a member with the highest scores in the sorted set stored at one of the keys.AsyncExecutions<KeyValue<K,ScoredValue<V>>>NodeSelectionSortedSetAsyncCommands. bzpopmin(long timeout, K... keys)Removes and returns a member with the lowest scores in the sorted set stored at one of the keys.AsyncExecutions<List<KeyValue<K,V>>>NodeSelectionHashAsyncCommands. hmget(K key, K... fields)Get the values of all the given hash fields.AsyncExecutions<KeyValue<K,V>>NodeSelectionHashAsyncCommands. hrandfieldWithvalues(K key)Return a random field along its value from the hash stored atkey.AsyncExecutions<List<KeyValue<K,V>>>NodeSelectionHashAsyncCommands. hrandfieldWithvalues(K key, long count)Returncountrandom fields along their value from the hash stored atkey.AsyncExecutions<List<KeyValue<K,V>>>NodeSelectionStringAsyncCommands. mget(K... keys)Get the values of all the given keys.RedisFuture<List<KeyValue<K,V>>>RedisAdvancedClusterAsyncCommands. mget(K... keys)Get the values of all the given keys with pipelining.RedisFuture<List<KeyValue<K,V>>>RedisClusterAsyncCommands. mget(K... keys)Get the values of all the given keys with pipelining. -
Uses of KeyValue in io.lettuce.core.cluster.api.reactive
Methods in io.lettuce.core.cluster.api.reactive that return types with arguments of type KeyValue Modifier and Type Method Description Flux<KeyValue<K,V>>RedisAdvancedClusterReactiveCommands. mget(K... keys)Get the values of all the given keys with pipelining.Flux<KeyValue<K,V>>RedisClusterReactiveCommands. mget(K... keys)Get the values of all the given keys with pipelining. -
Uses of KeyValue in io.lettuce.core.cluster.api.sync
Methods in io.lettuce.core.cluster.api.sync that return types with arguments of type KeyValue Modifier and Type Method Description Executions<KeyValue<K,V>>NodeSelectionListCommands. blpop(long timeout, K... keys)Remove and get the first element in a list, or block until one is available.Executions<KeyValue<K,V>>NodeSelectionListCommands. brpop(long timeout, K... keys)Remove and get the last element in a list, or block until one is available.Executions<KeyValue<K,ScoredValue<V>>>NodeSelectionSortedSetCommands. bzpopmax(long timeout, K... keys)Removes and returns a member with the highest scores in the sorted set stored at one of the keys.Executions<KeyValue<K,ScoredValue<V>>>NodeSelectionSortedSetCommands. bzpopmin(long timeout, K... keys)Removes and returns a member with the lowest scores in the sorted set stored at one of the keys.Executions<List<KeyValue<K,V>>>NodeSelectionHashCommands. hmget(K key, K... fields)Get the values of all the given hash fields.Executions<KeyValue<K,V>>NodeSelectionHashCommands. hrandfieldWithvalues(K key)Return a random field along its value from the hash stored atkey.Executions<List<KeyValue<K,V>>>NodeSelectionHashCommands. hrandfieldWithvalues(K key, long count)Returncountrandom fields along their value from the hash stored atkey.Executions<List<KeyValue<K,V>>>NodeSelectionStringCommands. mget(K... keys)Get the values of all the given keys.List<KeyValue<K,V>>RedisAdvancedClusterCommands. mget(K... keys)Get the values of all the given keys with pipelining. -
Uses of KeyValue in io.lettuce.core.output
Methods in io.lettuce.core.output that return types with arguments of type KeyValue Modifier and Type Method Description StreamingOutput.Subscriber<KeyValue<K,V>>KeyValueListOutput. getSubscriber()Method parameters in io.lettuce.core.output with type arguments of type KeyValue Modifier and Type Method Description voidKeyValueListOutput. setSubscriber(StreamingOutput.Subscriber<KeyValue<K,V>> subscriber)