[
https://issues.apache.org/jira/browse/FLINK-3933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15290879#comment-15290879
]
ASF GitHub Bot commented on FLINK-3933:
---------------------------------------
GitHub user StephanEwen opened a pull request:
https://github.com/apache/flink/pull/2010
[FLINK-3933] [streaming API] Add AbstractDeserializationSchema
This PR adds an `AbstractDeserializationSchema` that handles the produced
type extraction automatically from the generic types via the TypeExtractor
(reflection)
Also adds test and documentation, references the new
`AbstractDeserializationSchema` in the docs of the `DeserializationSchema`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/StephanEwen/incubator-flink abstract_schema
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2010.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2010
----
commit 24e9f833a4ce4004b861c07772aa842e4169577b
Author: Stephan Ewen <[email protected]>
Date: 2016-05-19T10:37:05Z
[FLINK-3933] [streaming API] Add AbstractDeserializationSchema that handles
produced type extraction.
The AbstractDeserializationSchema creates the produced type information
automatically from the
generic parameters.
----
> Add an auto-type-extracting DeserializationSchema
> -------------------------------------------------
>
> Key: FLINK-3933
> URL: https://issues.apache.org/jira/browse/FLINK-3933
> Project: Flink
> Issue Type: Bug
> Components: Streaming
> Affects Versions: 1.0.0
> Reporter: Stephan Ewen
> Assignee: Stephan Ewen
> Fix For: 1.1.0
>
>
> When creating a {{DeserializationSchema}}, people need to manually worry
> about how to provide the produced type's {{TypeInformation}}.
> We should add a base utility {{AbstractDeserializationSchema}} that provides
> that automatically via the type extractor.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)