public class SparkSideInputReader
extends java.lang.Object
implements org.apache.beam.runners.core.SideInputReader
SideInputReader
for the SparkRunner.Constructor and Description |
---|
SparkSideInputReader(java.util.Map<TupleTag<?>,KV<WindowingStrategy<?,?>,SideInputBroadcast<?>>> sideInputs) |
Modifier and Type | Method and Description |
---|---|
<T> boolean |
contains(PCollectionView<T> view) |
<T> T |
get(PCollectionView<T> view,
BoundedWindow window) |
boolean |
isEmpty() |
public SparkSideInputReader(java.util.Map<TupleTag<?>,KV<WindowingStrategy<?,?>,SideInputBroadcast<?>>> sideInputs)
public <T> T get(PCollectionView<T> view, BoundedWindow window)
get
in interface org.apache.beam.runners.core.SideInputReader
public <T> boolean contains(PCollectionView<T> view)
contains
in interface org.apache.beam.runners.core.SideInputReader
public boolean isEmpty()
isEmpty
in interface org.apache.beam.runners.core.SideInputReader