GitHub user twalthr opened a pull request:
https://github.com/apache/incubator-flink/pull/203
[FLINK-1245] Introduce TypeHints for Java API operators
This PR contains:
- .returns(String), .returns(TypeInformation), .returns(Class) for all Java
API UdfOperators
- a new UnknownTypeInfo with a corresponding new UnknownTypeSerializer
which uses Kryo in a special configuration
- the TypeExtractor does not throw Exceptions anymore if it recognizes type
erasure,
instead it prints log warnings and returns a UnknownTypeInfo
- Java 8 Lambdas can now be compiled and run with Oracle JDK for
development (not efficient due to UnknownTypeInfo)
- since TypeInfoParser is now "Public API" I reworked it such it also
support Pojos
- Unit Tests test TypeHints, Serializers, TypeExtractor and Lambdas
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/twalthr/incubator-flink TypeInfoRework
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-flink/pull/203.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 #203
----
commit 8574f9c6c8f518ef54d363d07e6d53462de78d5d
Author: twalthr <[email protected]>
Date: 2014-11-07T15:18:23Z
[FLINK-1245] Introduce TypeHints for Java API operators
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---