Interface StateRequestHandlers.IterableSideInputHandler<V,W extends BoundedWindow>

All Superinterfaces:
StateRequestHandlers.SideInputHandler
Enclosing class:
StateRequestHandlers

@ThreadSafe public static interface StateRequestHandlers.IterableSideInputHandler<V,W extends BoundedWindow> extends StateRequestHandlers.SideInputHandler
A handler for iterable side inputs.

Note that this handler is expected to be thread safe as it will be invoked concurrently.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the Coder to use for the elements of the resulting values iterable.
    get(W window)
    Returns an Iterable of values representing the side input for the given window.
  • Method Details

    • get

      Iterable<V> get(W window)
      Returns an Iterable of values representing the side input for the given window.

      TODO: Add support for side input chunking and caching if a Reiterable is returned.

    • elementCoder

      Coder<V> elementCoder()
      Returns the Coder to use for the elements of the resulting values iterable.