Re: [Neo4j] get direction of batchinsert relationships

2014-02-24 Thread Javad Karabi
hey michael, was just experimenting. the way you suggested seems to work, but i agree that maybe i shouldnt implement this kind of logic in batch insert mode. On Sunday, February 23, 2014 5:24:30 PM UTC-6, Michael Hunger wrote: > > What is your use-case for that? Can't you solve it with preproce

Re: [Neo4j] get direction of batchinsert relationships

2014-02-23 Thread Michael Hunger
What is your use-case for that? Can't you solve it with preprocessing? The batch-inserter is really more about writing instead of reading. You can compare start and end-node-ids of the relationship with the node you have in your hand for direction. Michael Am 24.02.2014 um 00:22 schrieb Javad

[Neo4j] get direction of batchinsert relationships

2014-02-23 Thread Javad Karabi
after retrieving a nodes relationships via: http://api.neo4j.org/2.0.1/org/neo4j/unsafe/batchinsert/BatchInserter.html#getRelationships(long) how do i determine the direction of that relationship? i need a way to, in batchinsert mode, get all the relationships for a node, of a given type and giv