-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Blueprints is a collection of interfaces, implementations, ouplementations, and test suites for the property graph data model. Blueprints is analogous to the JDBC, but for graph databases. As such, it provides a common set of interfaces to allow developers to plug-and-play their graph database backend. Moreover, software written atop Blueprints works over all Blueprints-enabled graph databases. Within the TinkerPop software stack, Blueprints serves as the foundational technology for:
- Pipes: A lazy, data flow framework
- Gremlin: A graph traversal language
- Frames: An object-to-graph mapper
- Furnace: A graph algorithms package
- Rexster: A graph server
The documentation herein will provide information regarding the use of Blueprints.1 Please join the Gremlin users group at http://groups.google.com/group/gremlin-users for all TinkerPop related discussions.
Blueprints JavaDoc: 1.2
Older JavaDocs: 1.1 – 1.0 – 0.9 – 0.8 – 0.7 – 0.6 – 0.5 – 0.4 – 0.3 – 0.2 – 0.1
<!-- neo4j used in this example -->
<dependency>
<groupId>com.tinkerpop.blueprints</groupId>
<artifactId>blueprints-neo4j-graph</artifactId>
<version>1.2</version>
</dependency>
Non-Maven users can get the raw jars from Apache’s Central Repository.
Graph graph = new Neo4jGraph("/tmp/my_graph");
Vertex a = graph.addVertex(null);
Vertex b = graph.addVertex(null);
a.setProperty("name","marko");
b.setProperty("name","peter");
Edge e = graph.addEdge(null, a, b, "knows");
e.setProperty("since", 2006);
graph.shutdown();
- Introduction
- Advanced Graph Handling
- Implementations
- Ouplementations
- Utilities
- Conclusion
1 Blueprints documentation is up to date with the current Blueprints codebase, not with the latest Blueprints release.