public interface ReactiveHyperLogLogCommands
Modifier and Type | Interface and Description |
---|---|
static class |
ReactiveHyperLogLogCommands.PfAddCommand
PFADD command parameters. |
static class |
ReactiveHyperLogLogCommands.PfCountCommand
PFCOUNT command parameters. |
static class |
ReactiveHyperLogLogCommands.PfMergeCommand
PFMERGE command parameters. |
Modifier and Type | Method and Description |
---|---|
default reactor.core.publisher.Mono<Long> |
pfAdd(ByteBuffer key,
ByteBuffer value)
Adds given value to the HyperLogLog stored at given key.
|
default reactor.core.publisher.Mono<Long> |
pfAdd(ByteBuffer key,
Collection<ByteBuffer> values)
Adds given values to the HyperLogLog stored at given key.
|
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.
|
default reactor.core.publisher.Mono<Long> |
pfCount(ByteBuffer key)
Return the approximated cardinality of the structures observed by the HyperLogLog at key.
|
default reactor.core.publisher.Mono<Long> |
pfCount(Collection<ByteBuffer> keys)
Return the approximated cardinality of the structures observed by the HyperLogLog at key(s).
|
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).
|
default reactor.core.publisher.Mono<Boolean> |
pfMerge(ByteBuffer destinationKey,
Collection<ByteBuffer> sourceKeys)
Merge N different HyperLogLogs at sourceKeys into a single destinationKey.
|
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.
|
default reactor.core.publisher.Mono<Long> pfAdd(ByteBuffer key, ByteBuffer value)
key
- must not be null.value
- must not be null.default reactor.core.publisher.Mono<Long> pfAdd(ByteBuffer key, Collection<ByteBuffer> values)
key
- must not be null.values
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveHyperLogLogCommands.PfAddCommand,Long>> pfAdd(org.reactivestreams.Publisher<ReactiveHyperLogLogCommands.PfAddCommand> commands)
commands
- must not be null.default reactor.core.publisher.Mono<Long> pfCount(ByteBuffer key)
key
- must not be null.default reactor.core.publisher.Mono<Long> pfCount(Collection<ByteBuffer> keys)
keys
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveHyperLogLogCommands.PfCountCommand,Long>> pfCount(org.reactivestreams.Publisher<ReactiveHyperLogLogCommands.PfCountCommand> commands)
commands
- must not be null.default reactor.core.publisher.Mono<Boolean> pfMerge(ByteBuffer destinationKey, Collection<ByteBuffer> sourceKeys)
destinationKey
- must not be null.sourceKeys
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveHyperLogLogCommands.PfMergeCommand>> pfMerge(org.reactivestreams.Publisher<ReactiveHyperLogLogCommands.PfMergeCommand> commands)
commands
- must not be null.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.