flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1962) Add Gelly Scala API
Date Tue, 12 May 2015 08:45:59 GMT

    [ https://issues.apache.org/jira/browse/FLINK-1962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14539532#comment-14539532

Stephan Ewen commented on FLINK-1962:

In Scala, you usually use the Scala tuples.

The Java tuples were introduced, because:
  - we wanted to keep the Scala dependencies out of the Java API
  - they can be used in a mutable way, which allows you to make some performance optimizations
  - we wound that certain Java programmers were confused by the scala tuples and the fields
counting from _1 (where the tuple positions in the keys count from 0)

That being said, you should be able to use scala tuples in the Java API, if you prefer that...

> Add Gelly Scala API
> -------------------
>                 Key: FLINK-1962
>                 URL: https://issues.apache.org/jira/browse/FLINK-1962
>             Project: Flink
>          Issue Type: Task
>          Components: Gelly, Scala API
>    Affects Versions: 0.9
>            Reporter: Vasia Kalavri

This message was sent by Atlassian JIRA

View raw message