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

Luke Cwik commented on BEAM-1930:
---------------------------------

I think with Jackson/ObjectMapper you could do the same thing and have it 
convert from proto -> json -> Java coder and then we might be able to drop 
CloudObject usage within Coder.

> 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)

Reply via email to