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

PJ Van Aeken commented on FLINK-1962:
-------------------------------------

Update :

Using implicit conversions, I managed to get this to work but this still looks 
terrible to be honest:

import java.{lang => jlang}
val simpleEdge: Edge[jlang.Long, jlang.Long] = Edge(1L, 2L, 3L)

It implicitly converts the Scala Long to a java.lang.Long but you still have to 
define that you want a java.lang.Long as Key and Value types, which is an 
implementation detail that you'd want to hide from the user...

> 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
(v6.3.4#6332)

Reply via email to