GitHub user tillrohrmann opened a pull request:
https://github.com/apache/flink/pull/1840
[FLINK-3681] [cep, typeextractor] Generalize TypeExtractor to support more
lambdas
The TypeExtractor.getUnaryOperatorReturnType and
TypeExtractor.getBinaryOperatorReturnType
methods have been extended to support positional arguments for the input
types. This allows
to support parameterized types as Java 8 lambda arguments where the input
type is not specified
by the first type argument (e.g. Map<String, T>). This also solves the
problem that the CEP
library did not support Java 8 lambdas as select functions.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tillrohrmann/flink fixCEPJava8
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1840.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 #1840
----
commit 4e626b79e290acb7a5fd546a985310aef17db8c2
Author: Till Rohrmann <[email protected]>
Date: 2016-03-30T12:55:27Z
[FLINK-3681] [cep, typeextractor] Generalize TypeExtractor to support more
lambdas
The TypeExtractor.getUnaryOperatorReturnType and
TypeExtractor.getBinaryOperatorReturnType
methods have been extended to support positional arguments for the input
types. This allows
to support parameterized types as Java 8 lambda arguments where the input
type is not specified
by the first type argument (e.g. Map<String, T>). This also solves the
problem that the CEP
library did not support Java 8 lambdas as select functions.
----
---
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.
---