public class CachedSideInputReader
extends java.lang.Object
implements org.apache.beam.runners.core.SideInputReader
SideInputReader
that caches materialized views.Modifier and Type | Method and Description |
---|---|
<T> boolean |
contains(PCollectionView<T> view) |
<T> T |
get(PCollectionView<T> view,
BoundedWindow window) |
boolean |
isEmpty() |
static CachedSideInputReader |
of(org.apache.beam.runners.core.SideInputReader delegate)
Create a new cached
SideInputReader . |
public static CachedSideInputReader of(org.apache.beam.runners.core.SideInputReader delegate)
SideInputReader
.delegate
- wrapped readerpublic <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