storm.trident.operation.impl
Class GlobalBatchToPartition

java.lang.Object
  extended by storm.trident.operation.impl.GlobalBatchToPartition
All Implemented Interfaces:
java.io.Serializable, SingleEmitAggregator.BatchToPartition

public class GlobalBatchToPartition
extends java.lang.Object
implements SingleEmitAggregator.BatchToPartition

See Also:
Serialized Form

Constructor Summary
GlobalBatchToPartition()
           
 
Method Summary
 int partitionIndex(java.lang.Object batchId, int numPartitions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalBatchToPartition

public GlobalBatchToPartition()
Method Detail

partitionIndex

public int partitionIndex(java.lang.Object batchId,
                          int numPartitions)
Specified by:
partitionIndex in interface SingleEmitAggregator.BatchToPartition