Package 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 Description int
value
-
Constructor Summary
Constructors Constructor Description Count(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
static BaseWindowedBolt.Count
of(int value)
Returns aBaseWindowedBolt.Count
of given value.String
toString()
-
-
-
Method Detail
-
of
public static BaseWindowedBolt.Count of(int value)
Returns aBaseWindowedBolt.Count
of given value.- Parameters:
value
- the count value- Returns:
- the Count
-
-