[ https://issues.apache.org/jira/browse/FLINK-1962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14530519#comment-14530519 ]
PJ Van Aeken commented on FLINK-1962: ------------------------------------- Here's what I have so far in terms of wrapping the Java API: https://github.com/PieterJanVanAeken/flink/tree/master/flink-staging/flink-gelly-scala/src/main/scala/org/apache/flink/graph/wrappedjava Two things that bother me: 1. It doesn't work ;-) This is the error that is thrown: "org.apache.flink.api.common.functions.InvalidTypesException: Type of TypeVariable 'K' in 'class org.apache.flink.graph.Vertex' could not be determined. This is most likely a type erasure problem. The type extraction currently supports types with generic variables only in cases where all variables in the return type can be deduced from the input type(s)." 2. The JLong is not very user-friendly, but this is something that can be fixed automatically if the Serializable constraint can be dropped. Implicit conversions to Ordered should take care of the "Comparable" constraint. I think once we've eliminated these issues, I can start implementing a lot of the functionalities again without any problems. There are some very good examples in the code base already to do this. > 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)