Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2014-04-02 03:30:11 +0400
committermichael-grunder <michael.grunder@gmail.com>2014-04-02 03:30:11 +0400
commit110a9933a3b74ea466078b9f3e0d90a454c70834 (patch)
tree2ddf27af9b93ce2c19265cefc8c77d263e357bd5 /php_redis.h
parent02a67d5a1a517ed178b1f8e88f564f9f095a26ed (diff)
Initial commit of HyperLogLog commands
This is the initial commit of the HyperLogLog probabilistic counting command introduced in Redis. Support for the following commands is implemented * PFADD <key> <member1> <member2> ... <memberN> * PFCOUNT <key> * PFMERGE <dstkey> <srckey1> <srckey2> ... <srckeyN>
Diffstat (limited to 'php_redis.h')
-rw-r--r--php_redis.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/php_redis.h b/php_redis.h
index 80ba22fb..3c802bc6 100644
--- a/php_redis.h
+++ b/php_redis.h
@@ -195,6 +195,11 @@ PHP_METHOD(Redis, hscan);
PHP_METHOD(Redis, sscan);
PHP_METHOD(Redis, zscan);
+/* HyperLogLog commands */
+PHP_METHOD(Redis, pfadd);
+PHP_METHOD(Redis, pfcount);
+PHP_METHOD(Redis, pfmerge);
+
/* Reflection */
PHP_METHOD(Redis, getHost);
PHP_METHOD(Redis, getPort);