Skip to content

Commit

Permalink
Mirrored javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
tgroh committed Mar 3, 2016
1 parent 8f689f4 commit 7d1c881
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,10 @@
* Pipeline p = ...
*
* // To create an unbounded producer that uses processing time as the element timestamp.
* PTransform<PBegin, PCollection<Long>> producer = CountingInput.unbounded();
* PCollection<Long> unbounded = p.apply(CountingInput.unbounded());
* // Or, to create an unbounded source that uses a provided function to set the element timestamp.
* PTransform<PBegin, PCollection<Long>> producer =
* CountingInput.unbounded().withTimestampFn(someFn);
*
* PCollection<Long> unbounded = p.apply(producer);
* PCollection<Long> unboundedWithTimestamps =
* p.apply(CountingInput.unbounded().withTimestampFn(someFn));
* }</pre>
*/
public class CountingInput {
Expand Down

0 comments on commit 7d1c881

Please sign in to comment.