public class DoFnRunnerWithMetricsUpdate<InputT,OutputT>
extends java.lang.Object
implements org.apache.beam.runners.core.DoFnRunner<InputT,OutputT>
DoFnRunner decorator which registers MetricsContainerImpl. It updates metrics to
 Flink metrics and accumulators in finishBundle().| Constructor and Description | 
|---|
| DoFnRunnerWithMetricsUpdate(java.lang.String stepName,
                           org.apache.beam.runners.core.DoFnRunner<InputT,OutputT> delegate,
                           FlinkMetricContainer metricContainer) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | finishBundle() | 
| DoFn<InputT,OutputT> | getFn() | 
| <KeyT> void | onTimer(java.lang.String timerId,
       java.lang.String timerFamilyId,
       KeyT key,
       BoundedWindow window,
       Instant timestamp,
       Instant outputTimestamp,
       TimeDomain timeDomain) | 
| <KeyT> void | onWindowExpiration(BoundedWindow window,
                  Instant timestamp,
                  KeyT key) | 
| void | processElement(org.apache.beam.sdk.util.WindowedValue<InputT> elem) | 
| void | startBundle() | 
public DoFnRunnerWithMetricsUpdate(java.lang.String stepName,
                                   org.apache.beam.runners.core.DoFnRunner<InputT,OutputT> delegate,
                                   FlinkMetricContainer metricContainer)
public void startBundle()
public void processElement(org.apache.beam.sdk.util.WindowedValue<InputT> elem)
public <KeyT> void onTimer(java.lang.String timerId,
                           java.lang.String timerFamilyId,
                           KeyT key,
                           BoundedWindow window,
                           Instant timestamp,
                           Instant outputTimestamp,
                           TimeDomain timeDomain)
public void finishBundle()
public <KeyT> void onWindowExpiration(BoundedWindow window, Instant timestamp, KeyT key)