beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Cwik (JIRA)" <>
Subject [jira] [Commented] (BEAM-1930) Abstract Coder translation from Runner API Protos
Date Tue, 11 Apr 2017 17:06:41 GMT


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

View raw message