Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Welcome to the JCypher Samples wiki
The JCypher Samples project was introduced together with release 2.0.0 of JCypher.
The core sample is the 'PEOPLE-DOMAIN' sample. You can find it in package
iot.jcypher.samples.domain.people. It was introduced to demonstrate how complex business domains are mapped to graph databases (Neo4J) by using JCypher. The sample is intended to grow step by step as new features are implemented in JCypher. The class to start with is
Find a class diagramm of the PEOPLE-DOMAIN here.
iot.jcypher.samples.domain.people.GenericPeopleDomain contains sample code to work with the Generic Domain Model which was introduced with JCypher release 3.0.0.
iot.jcypher.samples.domain.people.Population is used to populate the sample model. You have to edit
iot.jcypher.samples.domain.people.graph_access.Config to configure your database access.
Two more sample classes are
MovieDatabase. They provide some basic insight into using JCypher-Query-DSL. They are found in package
You can either clone the repository from the master(trunk) or from a release tag. Or you can download a .zip file containing the sources from the master(trunk) or from the releases page. The samples project is being build with maven and contains the dependency to JCypher in its pom.xml file.
Note: JCypher is released to maven central, so you don't have to manually download JCypher.
Just add the dependency:
<dependency> <groupId>net.iot-solutions.graphdb</groupId> <artifactId>jcypher</artifactId> <version>3.9.0</version> </dependency>