org.apache.storm.topology.base

## Class BaseWindowedBolt.Count

- java.lang.Object
- - org.apache.storm.topology.base.BaseWindowedBolt.Count

- All Implemented Interfaces:
    Serializable
  Enclosing class:
    BaseWindowedBolt

      public static class BaseWindowedBolt.Count
      extends Object
      implements Serializable

  Holds a count value for count based windows and sliding intervals.

  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `value`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Count(int value)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `int` | `hashCode()`
    `static BaseWindowedBolt.Count` | `of(int value)` Returns a `BaseWindowedBolt.Count` of given value.
    `String` | `toString()`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### value

          public final int value

  - ### Constructor Detail

    - #### Count

          public Count(int value)

  - ### Method Detail

    - #### of

          public static BaseWindowedBolt.Count of(int value)

      Returns a `BaseWindowedBolt.Count` of given value.

      Parameters:
        `value` - the count value
      Returns:
        the Count

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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