T queryForObject(Class<T> objectType, String cypher, Map<String, ?> parameters)
Cypher query
Result query(String cypher, Map<String, ?> parameters)
FAQ
Upgrade the version
Revision feature is used in this project to keep all the versions in submodules consistent.
If you want to upgrade the version, e.g. for SNAPSHOT version, just set the ${revision} property instead of
using mvn version:set.
Version Map
Client Version
TuGraph Version
1.1.1
3.3.3
1.2.1, 1.2.2
3.4.x, 3.5.0
1.3.0
3.6.0
1.4.0, 1.4.1
4.0.0, 4.0.1
Note:
3.3.0~3.3.2 versions of TuGraph Server are legacy versions before java-client refactoring, which are not supported by
this repo.
1.1.0 and 1.2.0 is not available due to the unconsumable issue introduced by ${revision} variable in pom file[1].
TuGraph Java Client
This repo is a Java client for developers to connect to TuGraph.
Features
Prerequisites
Usage
Dependency Integration
If you are using Maven to manage the dependency in your Java project, you can add the following snippet to your pom.xml
Java client usage
Please refer to the code example:
Java Client Test
OGM usage
Please refer to the code example: OGM Test
OGM API Reference
FAQ
Upgrade the version
Revision feature is used in this project to keep all the versions in submodules consistent. If you want to upgrade the version, e.g. for SNAPSHOT version, just set the
${revision}
property instead of usingmvn version:set
.Version Map
Note:
[1] https://stackoverflow.com/questions/41086512/maven-issue-to-build-one-module-using-revision-property