All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.redis.datasource.hyperloglog.TransactionalHyperLogLogCommands Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package io.quarkus.redis.datasource.hyperloglog;

import io.quarkus.redis.datasource.TransactionalRedisCommands;

public interface TransactionalHyperLogLogCommands extends TransactionalRedisCommands {

    /**
     * Execute the command PFADD.
     * Summary: Adds the specified elements to the specified HyperLogLog.
     * Group: hyperloglog
     * Requires Redis 2.8.9
     *
     * @param key the key
     * @param values the values
     */
    void pfadd(K key, V... values);

    /**
     * Execute the command PFMERGE.
     * Summary: Merge N different HyperLogLogs into a single one.
     * Group: hyperloglog
     * Requires Redis 2.8.9
     *
     * @param destkey the key
     * @param sourcekeys the source keys
     */
    void pfmerge(K destkey, K... sourcekeys);

    /**
     * Execute the command PFCOUNT.
     * Summary: Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).
     * Group: hyperloglog
     * Requires Redis 2.8.9
     */
    void pfcount(K... keys);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy