beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Groh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BEAM-1930) Abstract Coder translation from Runner API Protos
Date Tue, 11 Apr 2017 17:04:41 GMT
Thomas Groh created BEAM-1930:
---------------------------------

             Summary: Abstract Coder translation from Runner API Protos
                 Key: BEAM-1930
                 URL: https://issues.apache.org/jira/browse/BEAM-1930
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-core
            Reporter: Thomas Groh
            Priority: Minor


Instead of having a large switch statement that constructs known coders, have a map from URN
to an interface that takes {{(RunnerApi.Coder, RunnerApi.Components)}} and produces a java
Coder, and delegate all calls in {{fromProto}} to that map.



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

Mime
View raw message