Interface StateRequestHandlers.IterableSideInputHandler<V,W extends org.apache.beam.sdk.transforms.windowing.BoundedWindow>
-
- All Superinterfaces:
StateRequestHandlers.SideInputHandler
- Enclosing class:
- StateRequestHandlers
@ThreadSafe public static interface StateRequestHandlers.IterableSideInputHandler<V,W extends org.apache.beam.sdk.transforms.windowing.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.beam.sdk.coders.Coder<V>elementCoder()Returns theCoderto use for the elements of the resulting values iterable.java.lang.Iterable<V>get(W window)Returns anIterableof values representing the side input for the given window.
-
-
-
Method Detail
-
get
java.lang.Iterable<V> get(W window)
Returns anIterableof values representing the side input for the given window.TODO: Add support for side input chunking and caching if a
Reiterableis returned.
-
elementCoder
org.apache.beam.sdk.coders.Coder<V> elementCoder()
Returns theCoderto use for the elements of the resulting values iterable.
-
-