GitHub user twalthr opened a pull request: https://github.com/apache/flink/pull/315
[FLINK-1147][Java API] TypeInference on POJOs The TypeExtractor now also fully supports generic POJOs and tries to get missing types by using type inference. Functions can look like: ``` MapFunction<PojoWithGenerics<Long, T>, PojoWithGenerics<T,T>> MapFunction<Tuple2<E, D>, PojoTuple<E, D, D>> MapFunction<PojoTuple<E, D, D>, Tuple2<E, D>> ``` POJOs can contain fields such as: ``` public PojoWithGenerics<Z, Z> field; public Z[] field; public Tuple1<Z>[] field; ``` If you have ideas for other test cases, I'm happy to implement them. You can merge this pull request into a Git repository by running: $ git pull https://github.com/twalthr/flink GenericPojos Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/315.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 #315 ---- commit 391cc8fde82a38797c0355031f156f8914845f1b Author: twalthr <i...@twalthr.com> Date: 2015-01-13T22:59:35Z [FLINK-1147][Java API] TypeInference on POJOs ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---