storm.trident.operation.impl
Class GlobalBatchToPartition
java.lang.Object
storm.trident.operation.impl.GlobalBatchToPartition
- All Implemented Interfaces:
- Serializable, SingleEmitAggregator.BatchToPartition
public class GlobalBatchToPartition
- extends Object
- implements SingleEmitAggregator.BatchToPartition
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlobalBatchToPartition
public GlobalBatchToPartition()
partitionIndex
public int partitionIndex(Object batchId,
int numPartitions)
- Specified by:
partitionIndex in interface SingleEmitAggregator.BatchToPartition
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.