beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xu Mingmin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BEAM-1461) duplication with StartBundle and prepareForProcessing in DoFn
Date Fri, 10 Feb 2017 20:07:41 GMT
Xu Mingmin created BEAM-1461:
--------------------------------

             Summary: duplication with StartBundle and prepareForProcessing in DoFn
                 Key: BEAM-1461
                 URL: https://issues.apache.org/jira/browse/BEAM-1461
             Project: Beam
          Issue Type: Improvement
          Components: sdk-java-core
            Reporter: Xu Mingmin
            Assignee: Davor Bonaci


There're one annotation `StartBundle`, and one public function `prepareForProcessing` in DoFn,
which are called both before `ProcessElement`. It's confused which one should be implemented
in a subclass.

The call sequence seems as:
prepareForProcessing -> StartBundle -> processElement



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

Mime
View raw message