Re: [Neo4j] IndexHits extends Iterable is evil

2011-12-20 Thread Rickard Öberg
On Wed, Dec 21, 2011 at 12:11 AM, Jean-Pierre Bergamin jpberga...@gmail.com wrote: I created an issue for that: https://github.com/neo4j/community/issues/141 I was bitten by IndexHits implementing Iterable myself yesterday, and also agree that it's bad. But it's not the only one. A quick search

Re: [Neo4j] ODBC connection

2011-12-13 Thread Rickard Öberg
Hi, Yes, I have written an experimental JDBC driver that uses the REST API to map JDBC calls to Cypher. It is available at: http://github.com/rickardoberg/neo4j-jdbc This can be used to access Neo4j data. Since Cypher does not yet support updates this is read-only, but can be good for reporting

Re: [Neo4j] ODBC connection

2011-12-13 Thread Rickard Öberg
different calls. So if you can let me know maybe I can test whichever you are interested in, to see if it works. I am actually able to remote debug the driver to see what is going on, so that is pretty simple. regards, Rickard On Wed, Dec 14, 2011 at 10:26 AM, Rickard Öberg rickard.ob

Re: [Neo4j] Cypher 3 Trees

2011-12-08 Thread Rickard Öberg
On 12/7/11 21:53 , Andres Taylor wrote: A subset of the graphs are trees, and they have a few problems that are specific for them. I'm right now planning what needs to be added to Cypher to make it play nice with your tree structures. I'd love to know if you have hierarchical data, and what

Re: [Neo4j] Cypher 3 Trees

2011-12-08 Thread Rickard Öberg
On 12/8/11 17:19 , Andres Taylor wrote: I'm guessing something like this: start ou=node(1234) match (ou)-[:CHILD_OU*..100]-(child_ou)-[:OWNER]-(case) where case.status = CLOSED return avg(case.completionTime) Question is, will the OU itself be included? Or does this imply that there *has*

Re: [Neo4j] Cypher DSL and result mapping

2011-11-05 Thread Rickard Öberg
(the results are passed into it), so if you want the raw IterableMap,Object, simply don't use Projection. Support for JSON is a great idea though! /Rickard -- Rickard Öberg Developer Neo Technology Twitter: @rickardoberg, Skype: rickardoberg ___ Neo4j

Re: [Neo4j] Cypher DSL and QueryDSL

2011-11-04 Thread Rickard Öberg
On 11/4/11 15:18 , Peter Neubauer wrote: I like, very cool Rickard! Is this in a doc-able state so we could add a test for the manual in the Cypher section? Well, the whole thing is very much subject to change, but it could still be doc'ed to some extent. /Rickard -- Rickard Öberg

Re: [Neo4j] Cypher DSL and result mapping

2011-11-04 Thread Rickard Öberg
to add to the basic interface. But are there other legitimate ways of transforming the result to objects? Or is iterable(result,resultType) enough? /Rickard -- Rickard Öberg Developer Neo Technology Twitter: @rickardoberg, Skype: rickardoberg ___ Neo4j

[Neo4j] Cypher DSL - updates, QueryDSL, mapping

2011-11-03 Thread Rickard Öberg
).to(y) - MATCH p=(x)-[r?:KNOWS*1..3]-(y) So that's that! Have a look at the GitHub class above for more details. I have also started integrating with QueryDSL for expressions and object mapping. I'll post separately about that to make it easier to follow any discussions. /Rickard -- Rickard

[Neo4j] Cypher DSL and QueryDSL

2011-11-03 Thread Rickard Öberg
Maven dependencies you need to use it. /Rickard -- Rickard Öberg Developer Neo Technology Twitter: @rickardoberg, Skype: rickardoberg ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

[Neo4j] Cypher DSL and result mapping

2011-11-03 Thread Rickard Öberg
are common usecases? /Rickard -- Rickard Öberg Developer Neo Technology Twitter: @rickardoberg, Skype: rickardoberg ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

[Neo4j] DSL for Cypher - request for feedback!

2011-11-02 Thread Rickard Öberg
) And that's about it I think! Please have a look at it, and if you have thoughts on the above, or any of the other design decisions, please let me know. regards, Rickard -- Rickard Öberg Developer Neo Technology Twitter: @rickardoberg, Skype: rickardoberg