org.apache.storm.eventhubs.trident

## Class Partition

- java.lang.Object
- - org.apache.storm.eventhubs.trident.Partition

- All Implemented Interfaces:
    Serializable, ISpoutPartition

      public class Partition
      extends Object
      implements ISpoutPartition, Serializable

  Represents an EventHub partition.

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Partition(EventHubSpoutConfig config, String partitionId)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getId()` This is used as a Zookeeper node path for storing metadata.

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

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

- - ### Constructor Detail

    - #### Partition

          public Partition(EventHubSpoutConfig config,
                           String partitionId)

  - ### Method Detail

    - #### getId

          public String getId()

      Description copied from interface: `ISpoutPartition`

      This is used as a Zookeeper node path for storing metadata.

      Specified by:
        `getId` in interface `ISpoutPartition`

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