org.apache.storm.trident.operation.impl

## 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 and Description
    `IndexHashBatchToPartition()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `partitionIndex(Object batchId, int numPartitions)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### IndexHashBatchToPartition

          public IndexHashBatchToPartition()

  - ### Method Detail

    - #### partitionIndex

          public int partitionIndex(Object batchId,
                                    int numPartitions)

      Specified by:
        `partitionIndex` in interface `SingleEmitAggregator.BatchToPartition`

Copyright © 2021 The Apache Software Foundation. All rights reserved.