You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/04/01 07:29:41 UTC

[jira] [Commented] (BEAM-1337) Use our coder infrastructure for coders for state

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

ASF GitHub Bot commented on BEAM-1337:
--------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/beam/pull/2133


> Use our coder infrastructure for coders for state
> -------------------------------------------------
>
>                 Key: BEAM-1337
>                 URL: https://issues.apache.org/jira/browse/BEAM-1337
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Kenneth Knowles
>            Assignee: Aviem Zur
>            Priority: Minor
>
> Today the user must explicitly provide any coders needed for serializing state data. We'd rather use the coder registry and infer the coder.
> Currently all factory methods in {{StateSpecs}} take a coder argument. For example:
> {code}
> StateSpecs.value(coderForT);
> {code}
> We could leverage the coder registry and provide different overloads:
> TypeDescriptor:
> {code}
> StateSpecs.value(typeDescriptorForT); 
> {code}
> Reflection:
> {code}
> StateSpec.value();
> {code}



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