Neo4j是干什么的
Neo4j is a graph database.
Neo4j的特点
Neo4j的使用
1-install
2-example
The Grelin language(Based on the Groovy language)
g: the graph object
g.V : The vertex
g.E : The edges
filter()/map()/next()
addVertex()/addEdge()
out: outE.inV
in :inE.outV
class
Deeping
Install
①Download
②Start the neo4j server: bin/neo4j start
Example:
①Retrieve all the Vertexs : g.V
②Retrieve all the Edges : g.E
③Add a new vertex : g.addVertex({name:'xxx'})
④Add a new Edge : g.addEdge(node_1, node_2, relation_type)
⑤To find some specific nodes whose name is xxx : g.V.filter{it.name="xxx"}
How the basic store refer to the graph structure, and how the query dealed?