public class SideInputInitializer<ViewT>
extends java.lang.Object
implements org.apache.flink.api.common.functions.BroadcastVariableInitializer<org.apache.beam.sdk.util.WindowedValue<?>,java.util.Map<org.apache.beam.sdk.transforms.windowing.BoundedWindow,ViewT>>
BroadcastVariableInitializer that initializes the broadcast input as a Map from
window to side input.| Constructor and Description |
|---|
SideInputInitializer(org.apache.beam.sdk.values.PCollectionView<ViewT> view) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<org.apache.beam.sdk.transforms.windowing.BoundedWindow,ViewT> |
initializeBroadcastVariable(java.lang.Iterable<org.apache.beam.sdk.util.WindowedValue<?>> inputValues) |
public SideInputInitializer(org.apache.beam.sdk.values.PCollectionView<ViewT> view)
public java.util.Map<org.apache.beam.sdk.transforms.windowing.BoundedWindow,ViewT> initializeBroadcastVariable(java.lang.Iterable<org.apache.beam.sdk.util.WindowedValue<?>> inputValues)
initializeBroadcastVariable in interface org.apache.flink.api.common.functions.BroadcastVariableInitializer<org.apache.beam.sdk.util.WindowedValue<?>,java.util.Map<org.apache.beam.sdk.transforms.windowing.BoundedWindow,ViewT>>