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]
.
我对Spark不太了解,但是我希望Java是:
neo.cypher("MATCH (n:Person) RETURN id(n)").<long>loadRdd().mean()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.