com.lambdaworks.redis
Class ZStoreArgs

java.lang.Object
  extended by com.lambdaworks.redis.ZStoreArgs

public class ZStoreArgs
extends Object

Argument list builder for the redis ZUNIONSTORE and ZINTERSTORE commands. Static import the methods from ZStoreArgs.Builder and chain the method calls: weights(1, 2).max().

Author:
Will Glozer

Nested Class Summary
static class ZStoreArgs.Builder
          Static builder methods.
 
Constructor Summary
ZStoreArgs()
           
 
Method Summary
 ZStoreArgs max()
           
 ZStoreArgs min()
           
 ZStoreArgs sum()
           
 ZStoreArgs weights(long... weights)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZStoreArgs

public ZStoreArgs()
Method Detail

weights

public ZStoreArgs weights(long... weights)

sum

public ZStoreArgs sum()

min

public ZStoreArgs min()

max

public ZStoreArgs max()


Copyright © 2013. All Rights Reserved.