Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

redisZInterStore

redisZInterStore


Description

Store the intersection of two sorted sets into another sorted set.

Usage

redisZInterStore(dstkey, keys, weights = c(), aggregate = NULL, ...)

Arguments

dstkey

The destination set name.

keys

A vector or list of sorted set names.

weights

A set of weights equal in length to the keys argument, or NULL (default). If specified, the weights associated with the members of each set will be multiplied by the specified weight values.

aggregate

A character value of either "SUM" "MIN" or "MAX" indicating how the resulting weights should be aggregated.

...

Optional additional arguments. Specify raw=TRUE to skip de-serialization of the data.

Details

See the Redis documentation for details.

Value

The number of elements stored in the destination set.

Author(s)

B. W. Lewis

References

http://redis.io/commands


rredis

"Redis" Key/Value Database Client

v1.7.0
Apache License (>= 2.0)
Authors
B. W. Lewis
Initial release
2015-07-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.