Interface StateRequestHandlers.MultimapSideInputHandler<K,​V,​W extends org.apache.beam.sdk.transforms.windowing.BoundedWindow>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Iterable<V> get​(K key, W window)
      Returns an Iterable of values representing the side input for the given key and window.
      java.lang.Iterable<K> get​(W window)
      Returns an Iterable of keys representing the side input for the given window.
      org.apache.beam.sdk.coders.Coder<K> keyCoder()
      Returns the Coder to use for the elements of the resulting keys iterable.
      org.apache.beam.sdk.coders.Coder<V> valueCoder()
      Returns the Coder to use for the elements of the resulting values iterable.
    • Method Detail

      • get

        java.lang.Iterable<K> get​(W window)
        Returns an Iterable of keys representing the side input for the given window.

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

      • get

        java.lang.Iterable<V> get​(K key,
                                  W window)
        Returns an Iterable of values representing the side input for the given key and window.

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

      • keyCoder

        org.apache.beam.sdk.coders.Coder<K> keyCoder()
        Returns the Coder to use for the elements of the resulting keys iterable.
      • valueCoder

        org.apache.beam.sdk.coders.Coder<V> valueCoder()
        Returns the Coder to use for the elements of the resulting values iterable.