public class TimerReceiverFactory extends java.lang.Object implements OutputReceiverFactory
OutputReceiverFactory
that passes outputs to timerDataConsumer
.Constructor and Description |
---|
TimerReceiverFactory(StageBundleFactory stageBundleFactory,
java.util.function.BiConsumer<org.apache.beam.sdk.util.WindowedValue,org.apache.beam.runners.core.TimerInternals.TimerData> timerDataConsumer,
Coder windowCoder) |
Modifier and Type | Method and Description |
---|---|
<OutputT> FnDataReceiver<OutputT> |
create(java.lang.String pCollectionId)
Get a new
RemoteOutputReceiver for an output PCollection. |
public TimerReceiverFactory(StageBundleFactory stageBundleFactory, java.util.function.BiConsumer<org.apache.beam.sdk.util.WindowedValue,org.apache.beam.runners.core.TimerInternals.TimerData> timerDataConsumer, Coder windowCoder)
public <OutputT> FnDataReceiver<OutputT> create(java.lang.String pCollectionId)
OutputReceiverFactory
RemoteOutputReceiver
for an output PCollection.
This call should only be invoked once per PCollection id per factory.
create
in interface OutputReceiverFactory