apache_beam.runners.dataflow.dataflow_exercise_metrics_pipeline module¶
A word-counting workflow.
-
apache_beam.runners.dataflow.dataflow_exercise_metrics_pipeline.common_metric_matchers()[source]¶ MetricResult matchers common to all tests.
-
apache_beam.runners.dataflow.dataflow_exercise_metrics_pipeline.fn_api_metric_matchers()[source]¶ MetricResult matchers with adjusted step names for the FN API DF test.
-
apache_beam.runners.dataflow.dataflow_exercise_metrics_pipeline.legacy_metric_matchers()[source]¶ MetricResult matchers with adjusted step names for the legacy DF test.
-
class
apache_beam.runners.dataflow.dataflow_exercise_metrics_pipeline.UserMetricsDoFn[source]¶ Bases:
apache_beam.transforms.core.DoFnParse each line of input text into words.