You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by dh...@apache.org on 2016/10/20 17:17:22 UTC

[1/2] incubator-beam git commit: BoundedReadFromUnboundedSource: make public

Repository: incubator-beam
Updated Branches:
  refs/heads/master b5e15c23a -> ff6301bd6


BoundedReadFromUnboundedSource: make public

Useful outside of the sdk.io module


Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/79b1ddd7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/79b1ddd7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/79b1ddd7

Branch: refs/heads/master
Commit: 79b1ddd7f41b7ac577b40092e83ef526b5201b7c
Parents: b5e15c2
Author: Dan Halperin <dh...@google.com>
Authored: Thu Oct 20 09:16:09 2016 -0700
Committer: Dan Halperin <dh...@google.com>
Committed: Thu Oct 20 10:17:15 2016 -0700

----------------------------------------------------------------------
 .../org/apache/beam/sdk/io/BoundedReadFromUnboundedSource.java   | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/79b1ddd7/sdks/java/core/src/main/java/org/apache/beam/sdk/io/BoundedReadFromUnboundedSource.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/io/BoundedReadFromUnboundedSource.java b/sdks/java/core/src/main/java/org/apache/beam/sdk/io/BoundedReadFromUnboundedSource.java
index 301a45e..630a8a3 100644
--- a/sdks/java/core/src/main/java/org/apache/beam/sdk/io/BoundedReadFromUnboundedSource.java
+++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/io/BoundedReadFromUnboundedSource.java
@@ -45,10 +45,8 @@ import org.joda.time.Instant;
 /**
  * {@link PTransform} that reads a bounded amount of data from an {@link UnboundedSource},
  * specified as one or both of a maximum number of elements or a maximum period of time to read.
- *
- * <p>Created by {@link Read}.
  */
-class BoundedReadFromUnboundedSource<T> extends PTransform<PBegin, PCollection<T>> {
+public class BoundedReadFromUnboundedSource<T> extends PTransform<PBegin, PCollection<T>> {
   private final UnboundedSource<T, ?> source;
   private final long maxNumRecords;
   private final Duration maxReadTime;


[2/2] incubator-beam git commit: Closes #1145

Posted by dh...@apache.org.
Closes #1145


Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/ff6301bd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/ff6301bd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/ff6301bd

Branch: refs/heads/master
Commit: ff6301bd637b91707a86f944412433da76d3f59d
Parents: b5e15c2 79b1ddd
Author: Dan Halperin <dh...@google.com>
Authored: Thu Oct 20 10:17:16 2016 -0700
Committer: Dan Halperin <dh...@google.com>
Committed: Thu Oct 20 10:17:16 2016 -0700

----------------------------------------------------------------------
 .../org/apache/beam/sdk/io/BoundedReadFromUnboundedSource.java   | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------