Thanks a lot for all the Help.

Yes I'm a Java Developer i may sound so dumb to you.  I was just trying to
validate my understanding as this is little interesting for me and its
giving me little different perspective towards the data staying in a file
locally... its very different from our day to day style of doing stuff.

Anyways thanks for the help.

On Mon, May 2, 2011 at 12:58 PM, Marko Rodriguez <[email protected]>wrote:

> Hey,
>
> Are you a Java developer? Simply start playing around as such:
>
> GraphDatabaseService graph = new EmbeddedGraphDatabase( "var/graphdb" );
> Node a = graph.createNode();
> a.setProperty("name", "marko");
> Node b = graph.createNode()
> b.setProperty("name", "gold plated rocket car");
> Relationship r = a.createRelationshipTo(b,
> DynamicRelationshipType.withName("purchased"));
> r.setProperty("timeStamp", 1234235234);
>
> // Marko--purchased-->GoldPlatedRocketCar
>
> If you want to dynamically do stuff from a terminal, you can consider
> learning about graph databases with Gremlin.
>        http://gremlin.tinkerpop.com
>
> ./gremlin.sh
> g = new Neo4jGraph('var/graphdb');
> a = g.addVertex([name:'marko'])
> b = g.addVertex([name:'gold plated rocket car'])
> r = g.addEdge(a, b, 'purchased', [timeStamp:'1234235234'])
> // what did Marko purchase?
> a.outE('purchased').inV.name
>
>        http://paste.pocoo.org/show/381641/
>
> Gremlin comes packaged with a few example graphs--no customer/order
> data--but hopefully you can abstract the concepts over to your domain.
>
> Hope that helps,
> Marko.
>
> http://markorodriguez.com
>
> On May 2, 2011, at 10:13 AM, Anil Tatikonda wrote:
>
> > Thanks that is a pretty quick reply i appreciate your response that helps
> my
> > understanding.
> >
> > And so now I'm trying the example in the Design Guide section. But it
> asks
> > me to create the RelationShipTypes by following the instructions in
> Getting
> > started but its not that clear.
> > And moreover where do i initialize this data and do you have any sample
> data
> > for those Customer and Orders that i can use.
> >
> > GraphDatabaseService graphDb = new EmbeddedGraphDatabase( "var/graphdb"
> );
> >
> >
> > On Mon, May 2, 2011 at 12:10 PM, Marko Rodriguez <[email protected]
> >wrote:
> >
> >> Hello,
> >>
> >> Neo4j is a database + API. Thus, Neo4j will persist your data for you
> (in a
> >> directory) and will expose that data logically as a graph for you
> (JavaDoc
> >> API).
> >>
> >> Neo4j is NOT a graph API over an existing database (e.g. MySQL).
> >>
> >> Hope that helps,
> >> Marko.
> >>
> >> http://markorodriguez.com
> >>
> >> On May 2, 2011, at 10:03 AM, Anil Tatikonda wrote:
> >>
> >>> I have read through the Getting Started on Neo4j this morning.
> >>> I understood that this a graphical database representation of our data.
> >>>
> >>> But its very hard to imagine in terms of our Application. So where does
> >> the
> >>> data stay lets just say we have Customers and Orders like your example
> >> where
> >>> does all that data live??? in a file locally or somewhere in the
> database
> >>> again and Neo4j is just a graphical representation of the same data
> ????
> >>>
> >>> Thanks
> >>> Anil Tatikonda
> >>> _______________________________________________
> >>> 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
>
> _______________________________________________
> 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