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

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

I did a  new commit to my personal Github, which gives you a better idea of 
what I am currently doing.

But I absolutely agree that the way I am currently doing it is a maintenance 
and sync nightmare. I would be more than willing to implement it as a wrapper 
of the Java API but there are some problems. Most of them are easily fixed, but 
the one I can't seem to fix is dealing with the constraints of Vertices/Edges 
key and values.

Basically, I want the key and value types to be either scala case classes or 
scala primitives. For case classes, you can force implementation of Ordered and 
Serializable (which is conform to the java constraints) but scala primitives 
implement neither Ordered nor Serializable. You can solve part of this by doing 
[K : Ordered[K]] but Ordered doesn't implement Serializable either. I've tried 
many things and none of them compile for both scala primitives and case 
classes. Is there something I am missing here?

> 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