[
https://issues.apache.org/jira/browse/BEAM-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15961718#comment-15961718
]
Jean-Baptiste Onofré commented on BEAM-1918:
--------------------------------------------
It was what we had originally: the user had to implement {{processElements()}}
method for instance. We decided to use annotations to provide more flexibility.
> a BasicDoFn with abstract methods
> ---------------------------------
>
> Key: BEAM-1918
> URL: https://issues.apache.org/jira/browse/BEAM-1918
> Project: Beam
> Issue Type: Wish
> Components: sdk-java-core
> Reporter: Xu Mingmin
> Assignee: Davor Bonaci
>
> {{DoFn}} use annotations to define the methods, which is not quite
> straight-forward. A {{BasicDoFn}} with default methods, or define as
> abstract, can benefit developers:
> 1. direct view of method descriptor;
> 2. avoid incorrect methods during run-time;
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)