Class ZUnionStoreCommand
- java.lang.Object
-
- com.moilioncircle.redis.replicator.event.AbstractEvent
-
- com.moilioncircle.redis.replicator.cmd.impl.AbstractCommand
-
- com.moilioncircle.redis.replicator.cmd.impl.ZUnionStoreCommand
-
- All Implemented Interfaces:
Command,Event,Serializable
@CommandSpec(command="ZUNIONSTORE") public class ZUnionStoreCommand extends AbstractCommand
- Since:
- 2.1.0
- Author:
- Leon Chen
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.moilioncircle.redis.replicator.event.Event
Event.Context
-
-
Field Summary
-
Fields inherited from class com.moilioncircle.redis.replicator.event.AbstractEvent
context
-
-
Constructor Summary
Constructors Constructor Description ZUnionStoreCommand()ZUnionStoreCommand(byte[] destination, int numkeys, byte[][] keys, double[] weights, AggregateType aggregateType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregateTypegetAggregateType()byte[]getDestination()byte[][]getKeys()intgetNumkeys()double[]getWeights()voidsetAggregateType(AggregateType aggregateType)voidsetDestination(byte[] destination)voidsetKeys(byte[][] keys)voidsetNumkeys(int numkeys)voidsetWeights(double[] weights)-
Methods inherited from class com.moilioncircle.redis.replicator.event.AbstractEvent
getContext, setContext
-
-
-
-
Constructor Detail
-
ZUnionStoreCommand
public ZUnionStoreCommand()
-
ZUnionStoreCommand
public ZUnionStoreCommand(byte[] destination, int numkeys, byte[][] keys, double[] weights, AggregateType aggregateType)
-
-
Method Detail
-
getDestination
public byte[] getDestination()
-
setDestination
public void setDestination(byte[] destination)
-
getNumkeys
public int getNumkeys()
-
setNumkeys
public void setNumkeys(int numkeys)
-
getKeys
public byte[][] getKeys()
-
setKeys
public void setKeys(byte[][] keys)
-
getWeights
public double[] getWeights()
-
setWeights
public void setWeights(double[] weights)
-
getAggregateType
public AggregateType getAggregateType()
-
setAggregateType
public void setAggregateType(AggregateType aggregateType)
-
-