public class SparkSideInputReader
extends java.lang.Object
implements org.apache.beam.runners.core.SideInputReader
SideInputReader
for the Spark Batch Runner.Constructor and Description |
---|
SparkSideInputReader(java.util.Map<PCollectionView<?>,WindowingStrategy<?,?>> indexByView,
SideInputBroadcast broadcastStateData) |
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<PCollectionView<?>,WindowingStrategy<?,?>> indexByView, SideInputBroadcast broadcastStateData)
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