public class LettuceReactiveHyperLogLogCommands extends Object implements ReactiveHyperLogLogCommands
ReactiveHyperLogLogCommands.PfAddCommand, ReactiveHyperLogLogCommands.PfCountCommand, ReactiveHyperLogLogCommands.PfMergeCommand| Constructor and Description |
|---|
LettuceReactiveHyperLogLogCommands(LettuceReactiveRedisConnection connection)
Create new
LettuceReactiveHyperLogLogCommands. |
| Modifier and Type | Method and Description |
|---|---|
protected LettuceReactiveRedisConnection |
getConnection() |
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveHyperLogLogCommands.PfAddCommand,Long>> |
pfAdd(org.reactivestreams.Publisher<ReactiveHyperLogLogCommands.PfAddCommand> commands)
Adds given values to the HyperLogLog stored at given key.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveHyperLogLogCommands.PfCountCommand,Long>> |
pfCount(org.reactivestreams.Publisher<ReactiveHyperLogLogCommands.PfCountCommand> commands)
Return the approximated cardinality of the structures observed by the HyperLogLog at key(s).
|
reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveHyperLogLogCommands.PfMergeCommand>> |
pfMerge(org.reactivestreams.Publisher<ReactiveHyperLogLogCommands.PfMergeCommand> commands)
Merge N different HyperLogLogs at sourceKeys into a single destinationKey.
|
public LettuceReactiveHyperLogLogCommands(LettuceReactiveRedisConnection connection)
LettuceReactiveHyperLogLogCommands.connection - must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveHyperLogLogCommands.PfAddCommand,Long>> pfAdd(org.reactivestreams.Publisher<ReactiveHyperLogLogCommands.PfAddCommand> commands)
ReactiveHyperLogLogCommandspfAdd in interface ReactiveHyperLogLogCommandscommands - must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveHyperLogLogCommands.PfCountCommand,Long>> pfCount(org.reactivestreams.Publisher<ReactiveHyperLogLogCommands.PfCountCommand> commands)
ReactiveHyperLogLogCommandspfCount in interface ReactiveHyperLogLogCommandscommands - must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveHyperLogLogCommands.PfMergeCommand>> pfMerge(org.reactivestreams.Publisher<ReactiveHyperLogLogCommands.PfMergeCommand> commands)
ReactiveHyperLogLogCommandspfMerge in interface ReactiveHyperLogLogCommandscommands - must not be null.protected LettuceReactiveRedisConnection getConnection()
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.