Hi all, I released version 0.1.0 of the Neo4j Scala Wrapper neo4j-scala (base is neo4j-scala by jawher). Main features are
- simple Traits for the wrapper itself, GraphDatabaseService provider, index provider and batch insertion - transaction wrapping: withTx {...} - natural usage of relations: start --> "KNOWS" --> intermediary --> "KNOWS" --> end - setting and getting properties: node("foo") = "bar" node[String]("foo") match { case Some(x) => println(x) case None => println("aww") } - easy CaseClass to/from Node/Relation properties marshaling withTx { implicit neo => // create new Node with Case Class Test val node1 = createNode(Test("Something", 1, 2, 3.3, 10, true)) // or using Option[T] (returning Some[T] if possible) val nodeOption: Option[Test] = node.toCC[Test] // create new relation with Case Class Test node1 --> "foo" --> node2 < Test("other", 0, 1, 1.3, 1, false) } - transparent batch processing (simply replace 2 traits to use the same code for batch- and non batch processing) For now I am using a simple Github "Maven repository". Neo4j-scala should be usable with the following POM settings: <repositories> <repository> <id>fakod-releases</id> <url>https://raw.github.com/FaKod/fakod-mvn-repo/master/releases </url> </repository> </repositories> <dependencies> <dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j-scala</artifactId> <version>0.1.0</version> </dependency> </dependencies> The Sources are hosted on Github: https://github.com/FaKod/neo4j-scala/tree/0.1.0 A simple Matrix example GIST is here: https://gist.github.com/1331556 Enjoy... PS: Maybe you are using Neo4j Server via Jersey? So sjersey-client may be interesting for you as well: see @ Github<https://github.com/FaKod/sjersey-client/tree/0.1.0> and this example <https://gist.github.com/1366334>. -- Christopher twitter: @fakod blog: http://blog.fakod.eu -- Christopher twitter: @fakod blog: http://blog.fakod.eu _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user