@ThreadSafe
public static interface StateRequestHandlers.SideInputHandlerFactory
StateRequestHandlers.SideInputHandler
s.
Note that this factory should be thread safe because it will be invoked concurrently.
Modifier and Type | Method and Description |
---|---|
<T,V,W extends BoundedWindow> |
forSideInput(java.lang.String pTransformId,
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 StateRequestHandlers.SideInputHandlerFactory |
unsupported()
Throws a
UnsupportedOperationException on the first access. |
<T,V,W extends BoundedWindow> StateRequestHandlers.SideInputHandler<V,W> forSideInput(java.lang.String pTransformId, java.lang.String sideInputId, org.apache.beam.model.pipeline.v1.RunnerApi.FunctionSpec accessPattern, Coder<T> elementCoder, Coder<W> windowCoder)
StateRequestHandlers.SideInputHandler
for the given pTransformId
, sideInputId
,
and accessPattern
. The supplied elementCoder
and windowCoder
should
be used to encode/decode their respective values.static StateRequestHandlers.SideInputHandlerFactory unsupported()
UnsupportedOperationException
on the first access.