redisZUnionStore: redisZUnionStore

Description Usage Arguments Details Value Author(s) References

View source: R/zsetVal.R

Description

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

Usage

1
redisZUnionStore(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 documentation built on May 2, 2019, 2:02 p.m.