apache_beam.runners.dataflow.ptransform_overrides module¶
Ptransform overrides for DataflowRunner.
-
class
apache_beam.runners.dataflow.ptransform_overrides.
CreatePTransformOverride
[source]¶ Bases:
apache_beam.pipeline.PTransformOverride
A
PTransformOverride
forCreate
in streaming mode.
-
class
apache_beam.runners.dataflow.ptransform_overrides.
ReadPTransformOverride
[source]¶ Bases:
apache_beam.pipeline.PTransformOverride
A
PTransformOverride
forRead(BoundedSource)
-
class
apache_beam.runners.dataflow.ptransform_overrides.
JrhReadPTransformOverride
[source]¶ Bases:
apache_beam.pipeline.PTransformOverride
A
PTransformOverride
forRead(BoundedSource)
-
class
apache_beam.runners.dataflow.ptransform_overrides.
CombineValuesPTransformOverride
[source]¶ Bases:
apache_beam.pipeline.PTransformOverride
A
PTransformOverride
forCombineValues
.The DataflowRunner expects that the CombineValues PTransform acts as a primitive. So this override replaces the CombineValues with a primitive.
-
class
apache_beam.runners.dataflow.ptransform_overrides.
NativeReadPTransformOverride
[source]¶ Bases:
apache_beam.pipeline.PTransformOverride
A
PTransformOverride
forRead
using native sources.The DataflowRunner expects that the Read PTransform using native sources act as a primitive. So this override replaces the Read with a primitive.
-
class
apache_beam.runners.dataflow.ptransform_overrides.
WriteToBigQueryPTransformOverride
(pipeline, options)[source]¶
-
class
apache_beam.runners.dataflow.ptransform_overrides.
GroupIntoBatchesWithShardedKeyPTransformOverride
(dataflow_runner, options)[source]¶ Bases:
apache_beam.pipeline.PTransformOverride
A
PTransformOverride
forGroupIntoBatches.WithShardedKey
.This override simply returns the original transform but additionally records the output PCollection in order to append required step properties during graph translation.