public class BatchSideInputHandlerFactory extends java.lang.Object implements StateRequestHandlers.SideInputHandlerFactory
StateRequestHandler
that uses a BatchSideInputHandlerFactory.SideInputGetter
to access side inputs.Modifier and Type | Class and Description |
---|---|
static interface |
BatchSideInputHandlerFactory.SideInputGetter
Returns the value for the side input with the given PCollection id from the runner.
|
Modifier and Type | Method and Description |
---|---|
<T,V,W extends BoundedWindow> |
forSideInput(java.lang.String transformId,
java.lang.String sideInputId,
org.apache.beam.model.pipeline.v1.RunnerApi.FunctionSpec accessPattern,
Coder<T> elementCoder,
Coder<W> windowCoder)
Returns a
StateRequestHandlers.SideInputHandler for the given pTransformId , sideInputId ,
and accessPattern . |
static BatchSideInputHandlerFactory |
forStage(org.apache.beam.runners.core.construction.graph.ExecutableStage stage,
BatchSideInputHandlerFactory.SideInputGetter sideInputGetter)
Creates a new state handler for the given stage.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
unsupported
public static BatchSideInputHandlerFactory forStage(org.apache.beam.runners.core.construction.graph.ExecutableStage stage, BatchSideInputHandlerFactory.SideInputGetter sideInputGetter)
public <T,V,W extends BoundedWindow> StateRequestHandlers.SideInputHandler<V,W> forSideInput(java.lang.String transformId, java.lang.String sideInputId, org.apache.beam.model.pipeline.v1.RunnerApi.FunctionSpec accessPattern, Coder<T> elementCoder, Coder<W> windowCoder)
StateRequestHandlers.SideInputHandlerFactory
StateRequestHandlers.SideInputHandler
for the given pTransformId
, sideInputId
,
and accessPattern
. The supplied elementCoder
and windowCoder
should
be used to encode/decode their respective values.forSideInput
in interface StateRequestHandlers.SideInputHandlerFactory