Class IndexHashBatchToPartition
- java.lang.Object
-
- org.apache.storm.trident.operation.impl.IndexHashBatchToPartition
-
- All Implemented Interfaces:
Serializable
,SingleEmitAggregator.BatchToPartition
public class IndexHashBatchToPartition extends Object implements SingleEmitAggregator.BatchToPartition
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IndexHashBatchToPartition()
-
-
-
Method Detail
-
partitionIndex
public int partitionIndex(Object batchId, int numPartitions)
- Specified by:
partitionIndex
in interfaceSingleEmitAggregator.BatchToPartition
-
-