Skip to content
This repository was archived by the owner on Nov 11, 2022. It is now read-only.

Explicitly track the Source a ReadEvaluator is using#176

Merged
davorbonaci merged 1 commit intoGoogleCloudPlatform:masterfrom
tgroh:backport_106
Apr 4, 2016
Merged

Explicitly track the Source a ReadEvaluator is using#176
davorbonaci merged 1 commit intoGoogleCloudPlatform:masterfrom
tgroh:backport_106

Conversation

@tgroh
Copy link
Copy Markdown
Contributor

@tgroh tgroh commented Apr 1, 2016

This permits use of sources that are not the initial source used in the
transform.

BoundedSource#splitIntoBundles and UnboundedSource#generateInitialSplits
generate multiple source objects for the same transform in order to
permit parallelism.

Also some cleanups:

  • Use proper scoping, interfaces in BoundedReadEvaluator
  • Use BoundedReader instead of Reader
  • contentsRemaining should be method-scoped not instance-scoped

This backports Beam #106

This permits use of sources that are not the initial source used in the
transform.

BoundedSource#splitIntoBundles and UnboundedSource#generateInitialSplits
generate multiple source objects for the same transform in order to
permit parallelism.

Also some cleanups:
 - Use proper scoping, interfaces in BoundedReadEvaluator
 - Use BoundedReader instead of Reader
 - contentsRemaining should be method-scoped not instance-scoped
@davorbonaci davorbonaci merged commit 8e3fd70 into GoogleCloudPlatform:master Apr 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants