Hi John,
Thanks for showing an interest. 
The compile error you got was due to the fact that a removed class was still 
hanging around in the Git repo. I renamed BinaryRelationshipRoles into 
BinaryRelationshipRole, but the original file was still active in the Git repo. 
I fixed that.
I have been thinking about BDB too for this situation, because the graph 
database now stores some information about the associated nodes and their 
reverse lookup. This of course polutes the name/node space. It would be neat to 
offload this book keeping information to some persistent hashmap, so the 
implementation is completely transparent to the user.
I don't know how nicely BDB plays with Neo4J transactions. Does anyone have 
experience with this?
Another aspect is licencing. I am no legal buff, so maybe someone else can jump 
in and answer this. 
Personally, I don't mind adding BDB as a dependency, but it has to work well at 
the transaction level and licence wise, otherwise it's a no go for me. 
I would recommend you to start using maven. There is an Eclipse plugin 
m2eclipse, which allows you to use/maintain Maven projects from within Eclipse.
Niels

> Date: Thu, 28 Jul 2011 05:09:54 +0200
> From: [email protected]
> To: [email protected]
> Subject: Re: [Neo4j] HyperRelationship example
> 
> Hey Niels,
> 
> I like xD
> this seems like a lot of work and professionally done; ie. something I could
> not have done (I don't have that kind of experience and focus). Gratz on
> that, I really appreciate seeing this.
> 
> I cloned the repo from git, manually, with eclipse (not using maven - don't
> know how with eclipse)
> I am getting only about 3 compile errors, like:
> 1) The type BinaryRelationshipRoles<T> must implement the inherited abstract
> method PropertyContainer.getId()
> 2) The constructor PropertyType<T>(String, GraphDatabaseService) is not
> visible
> 3) The return type is incompatible with
> RelationshipContainer.getRelationships()
> for
> org.neo4j.collections.graphdb.impl.RelationshipIterable.RelationshipIterable(Iterable<Relationship>
> rels)
> 
> 
>   Also, I am thinking to try and implement this on top of berkeleydb just
> for fun/benchmarking (so to speak) to compare between that and neo4j - since
> I am currently unsure which one to use for my hobby project (I like that
> berkeleydb's searches are 0-1ms instead of few seconds)
> 
> Btw, would it be any interest to you if I were to fork your repo and add ie.
> AllTests.java for junit and the .project and related files for eclipse
> project in a pull or two ? as long as it doesn't seem useless or
> cluttering... (note however I never actually, yet, used fork&pull but only
> read about it on github xD)
> 
> Thanks to all, for wasting some time reading this,
> Greeting and salutations,
> John
> 
> On Wed, Jul 27, 2011 at 8:48 PM, Niels Hoogeveen
> <[email protected]>wrote:
> 
> >
> > I just posted an example on how to use HyperRelationships:
> >
> >
> > https://github.com/peterneubauer/graph-collections/wiki/HyperRelationship-example
> >
> > There is now a proper test for HyperRelationships, so I hereby push the
> > software to Beta status.
> >
> > Please try out the Enhanced API and HyperRelationships and let me know what
> > needs improvement.
> >
> > Niels
> > _______________________________________________
> > Neo4j mailing list
> > [email protected]
> > https://lists.neo4j.org/mailman/listinfo/user
> >
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
                                          
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to