redis.clients.jedis
Class ZParams

java.lang.Object
  extended by redis.clients.jedis.ZParams

public class ZParams
extends Object


Nested Class Summary
static class ZParams.Aggregate
           
 
Constructor Summary
ZParams()
           
 
Method Summary
 ZParams aggregate(ZParams.Aggregate aggregate)
           
 Collection<byte[]> getParams()
           
 ZParams weights(int... weights)
          Deprecated. Use weightsByDouble(double...) instead
 ZParams weightsByDouble(double... weights)
          Set weights.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZParams

public ZParams()
Method Detail

weights

@Deprecated
public ZParams weights(int... weights)
Deprecated. Use weightsByDouble(double...) instead

Set weights.

Parameters:
weights - weights.

weightsByDouble

public ZParams weightsByDouble(double... weights)
Set weights.

Parameters:
weights - weights.

getParams

public Collection<byte[]> getParams()

aggregate

public ZParams aggregate(ZParams.Aggregate aggregate)


Copyright © 2014. All rights reserved.