public class StreamingSideInputHandlerFactory extends java.lang.Object implements StateRequestHandlers.SideInputHandlerFactory
StateRequestHandler
that uses SideInputHandler
to
access the broadcast state that represents side inputs.Modifier and Type | Method and Description |
---|---|
<V,W extends BoundedWindow> |
forIterableSideInput(java.lang.String transformId,
java.lang.String sideInputId,
Coder<V> elementCoder,
Coder<W> windowCoder)
|
<K,V,W extends BoundedWindow> |
forMultimapSideInput(java.lang.String transformId,
java.lang.String sideInputId,
KvCoder<K,V> elementCoder,
Coder<W> windowCoder)
|
static StreamingSideInputHandlerFactory |
forStage(org.apache.beam.runners.core.construction.graph.ExecutableStage stage,
java.util.Map<org.apache.beam.model.pipeline.v1.RunnerApi.ExecutableStagePayload.SideInputId,PCollectionView<?>> viewMapping,
org.apache.beam.runners.core.SideInputHandler runnerHandler)
Creates a new state handler for the given stage.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
unsupported
public static StreamingSideInputHandlerFactory forStage(org.apache.beam.runners.core.construction.graph.ExecutableStage stage, java.util.Map<org.apache.beam.model.pipeline.v1.RunnerApi.ExecutableStagePayload.SideInputId,PCollectionView<?>> viewMapping, org.apache.beam.runners.core.SideInputHandler runnerHandler)
public <V,W extends BoundedWindow> StateRequestHandlers.IterableSideInputHandler<V,W> forIterableSideInput(java.lang.String transformId, java.lang.String sideInputId, Coder<V> elementCoder, Coder<W> windowCoder)
StateRequestHandlers.SideInputHandlerFactory
StateRequestHandlers.IterableSideInputHandler
for the given pTransformId
, sideInputId
. The supplied elementCoder
and windowCoder
should be used to
encode/decode their respective values.forIterableSideInput
in interface StateRequestHandlers.SideInputHandlerFactory
public <K,V,W extends BoundedWindow> StateRequestHandlers.MultimapSideInputHandler<K,V,W> forMultimapSideInput(java.lang.String transformId, java.lang.String sideInputId, KvCoder<K,V> elementCoder, Coder<W> windowCoder)
StateRequestHandlers.SideInputHandlerFactory
StateRequestHandlers.MultimapSideInputHandler
for the given pTransformId
, sideInputId
. The supplied elementCoder
and windowCoder
should be used to
encode/decode their respective values.forMultimapSideInput
in interface StateRequestHandlers.SideInputHandlerFactory