[ 
https://issues.apache.org/jira/browse/BEAM-2188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16005154#comment-16005154
 ] 

Ahmet Altay commented on BEAM-2188:
-----------------------------------

Another improvement suggested by [~kenn] at 
https://github.com/apache/beam/pull/3024

{code:java}
private WriteToText(...) { ... } // exactly as-is

public static <T> WriteToText<T> windowed(filenamePrefix, fieldFn) {
  return new WriteToText<>(filenamePrefix, fieldFn, true);
}

public static <T> WriteToText<T> unwindowed(filenamePrefix, fieldFn) {
  return new WriteToText<>(filenamePrefix, fieldFn, false);
}
{code}



> Degooglify mobile gaming examples
> ---------------------------------
>
>                 Key: BEAM-2188
>                 URL: https://issues.apache.org/jira/browse/BEAM-2188
>             Project: Beam
>          Issue Type: Bug
>          Components: examples-java
>            Reporter: Ahmet Altay
>            Assignee: Ahmet Altay
>             Fix For: 2.0.0
>
>
> cc: [~kenn]
> 1. Replace BigQuery sink with text sinks.
> 2. Add alternative inputs to pubsub inputs.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to