flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timo Walther (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FLINK-3138) Method References are not supported as lambda expressions
Date Wed, 30 Mar 2016 10:40:25 GMT

     [ https://issues.apache.org/jira/browse/FLINK-3138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Timo Walther reassigned FLINK-3138:
-----------------------------------

    Assignee: Timo Walther

> Method References are not supported as lambda expressions
> ---------------------------------------------------------
>
>                 Key: FLINK-3138
>                 URL: https://issues.apache.org/jira/browse/FLINK-3138
>             Project: Flink
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.10.2
>            Reporter: Stephan Ewen
>            Assignee: Timo Walther
>             Fix For: 1.0.0
>
>
> For many functions (here for example KeySelectors), one can use lambda expressions:
> {code}
> DataStream<MyType> stream = ...;
> stream.keyBy( v -> v.getId() )
> {code}
> Java's other syntax for this, Method References, do not work:
> {code}
> DataStream<MyType> stream = ...;
> stream.keyBy( MyType::getId )
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message