public class FnApiDoFnRunner<InputT,OutputT>
extends java.lang.Object
DoFnRunner specific to integrating with the Fn Api. This is to remove the layers of
abstraction caused by StateInternals/TimerInternals since they model state and timer concepts
differently.| Modifier and Type | Class and Description |
|---|---|
static class |
FnApiDoFnRunner.Registrar
A registrar which provides a factory to handle Java
DoFns. |
| Modifier and Type | Method and Description |
|---|---|
void |
finishBundle() |
void |
processElement(org.apache.beam.sdk.util.WindowedValue<InputT> elem) |
void |
processTimer(java.lang.String timerId,
org.apache.beam.sdk.state.TimeDomain timeDomain,
org.apache.beam.sdk.util.WindowedValue<org.apache.beam.sdk.values.KV<java.lang.Object,org.apache.beam.runners.core.construction.Timer>> timer) |
void |
startBundle() |
public void startBundle()
public void processElement(org.apache.beam.sdk.util.WindowedValue<InputT> elem)
public void processTimer(java.lang.String timerId,
org.apache.beam.sdk.state.TimeDomain timeDomain,
org.apache.beam.sdk.util.WindowedValue<org.apache.beam.sdk.values.KV<java.lang.Object,org.apache.beam.runners.core.construction.Timer>> timer)
public void finishBundle()