apache_beam.io.restriction_trackers module¶
iobase.RestrictionTracker implementations provided with Apache Beam.
- class apache_beam.io.restriction_trackers.OffsetRange(start, stop)[source]¶
Bases:
object
- split_at(split_pos) Tuple[OffsetRange, OffsetRange] [source]¶
- class apache_beam.io.restriction_trackers.OffsetRestrictionTracker(offset_range: OffsetRange)[source]¶
Bases:
RestrictionTracker
An iobase.RestrictionTracker implementations for an offset range.
Offset range is represented as OffsetRange.
- current_progress() RestrictionProgress [source]¶
- class apache_beam.io.restriction_trackers.UnsplittableRestrictionTracker(underling_tracker)[source]¶
Bases:
RestrictionTracker
An iobase.RestrictionTracker that wraps another but does not split.