apache_beam.io.concat_source module¶
For internal use only; no backwards-compatibility guarantees.
Concat Source, which reads the union of several other sources.
- class apache_beam.io.concat_source.ConcatSource(sources)[source]¶
Bases:
BoundedSource
For internal use only; no backwards-compatibility guarantees.
A
BoundedSource
that can group a set ofBoundedSources
.Primarily for internal use, use the
apache_beam.Flatten
transform to create the union of several reads.- property sources¶
- class apache_beam.io.concat_source.ConcatRangeTracker(start, end, source_bundles)[source]¶
Bases:
RangeTracker
For internal use only; no backwards-compatibility guarantees.
Range tracker for ConcatSource
Initializes
ConcatRangeTracker
- Parameters:
start – start position, a tuple of (source_index, source_position)
end – end position, a tuple of (source_index, source_position)
source_bundles – the list of source bundles in the ConcatSource