I am trying out spark-neo4j connector. In examples of this link, I found following line:
neo.cypher("MATCH (n:Person) RETURN id(n)").loadRdd[Long].mean
I am trying to convert this line to Java equivalent. But I am not getting how should I proceed for lack of my understanding of scala. The issue is with loadRdd[Long]
.