Class BlockingHyperLogLogCommandsImpl<K,​V>

    • Method Detail

      • pfadd

        public boolean pfadd​(K key,
                             V... values)
        Description copied from interface: HyperLogLogCommands
        Execute the command PFADD. Summary: Adds the specified elements to the specified HyperLogLog. Group: hyperloglog Requires Redis 2.8.9
        Specified by:
        pfadd in interface HyperLogLogCommands<K,​V>
        Parameters:
        key - the key
        values - the values
        Returns:
        true at least 1 HyperLogLog internal register was altered. false otherwise.
      • pfmerge

        public void pfmerge​(K destkey,
                            K... sourcekeys)
        Description copied from interface: HyperLogLogCommands
        Execute the command PFMERGE. Summary: Merge N different HyperLogLogs into a single one. Group: hyperloglog Requires Redis 2.8.9
        Specified by:
        pfmerge in interface HyperLogLogCommands<K,​V>
        Parameters:
        destkey - the key
        sourcekeys - the source keys
      • pfcount

        public long pfcount​(K... keys)
        Description copied from interface: HyperLogLogCommands
        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
        Specified by:
        pfcount in interface HyperLogLogCommands<K,​V>
        Returns:
        The approximated number of unique elements observed via PFADD.