Package org.apache.storm.windowing.persistence

# Class WindowState.WindowPartition<T>

java.lang.Object
org.apache.storm.windowing.persistence.WindowState.WindowPartition<T>

All Implemented Interfaces:
  `Iterable<Event<T>>`

Enclosing class:
  WindowState<T>

public static class WindowState.WindowPartition<T> extends Object implements Iterable<Event<T>>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WindowPartition(long id)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Collection<Event<T>>`
  `getEvents()`
  `long`
  `getId()`
  `Iterator<Event<T>>`
  `iterator()`
  `int`
  `size()`
  `String`
  `toString()`

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

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

  ### Methods inherited from interface java.lang.Iterable

  `forEach, spliterator`

- ## Constructor Details

  - ### WindowPartition

    public WindowPartition(long id)

- ## Method Details

  - ### iterator

    public Iterator<Event<T>> iterator()
    Specified by:
      `iterator` in interface `Iterable<T>`

  - ### size

    public int size()

  - ### getId

    public long getId()

  - ### getEvents

    public Collection<Event<T>> getEvents()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`