Class ZIncrByParams

java.lang.Object
redis.clients.jedis.params.Params
redis.clients.jedis.params.ZIncrByParams
All Implemented Interfaces:
IParams

public class ZIncrByParams extends Params implements IParams
Parameters for ZINCRBY commands. In fact, Redis doesn't have parameters for ZINCRBY. Instead Redis has INCR parameter for ZADD.

When users call ZADD with INCR option, its restriction (only one member) and return type is same to ZINCRBY. Document page for ZADD also describes INCR option to act like ZINCRBY. So we decided to wrap "ZADD with INCR option" to ZINCRBY.

Works with Redis 3.0.2 and onwards.