Skip to content

haikalpribadi/typedb-driver

 
 

Repository files navigation

Grakn Client for Java

CircleCI Slack Status Discussion Forum Stack Overflow Stack Overflow

Client Architecture

To learn about the mechanism that a Grakn Client uses to set up communication with keyspaces running on the Grakn Server, refer to Grakn > Client API > Overview.

API Reference

To learn about the methods available for executing queries and retrieving their answers using Client Java, refer to Grakn > Client API > Java > API Reference.

Concept API

To learn about the methods available on the concepts retrieved as the answers to Graql queries, refer to Grakn > Concept API > Overview

Import Grakn Client for Java through Maven

<repositories>
    <repository>
        <id>repo.grakn.ai</id>
        <url>https://repo.grakn.ai/repository/maven/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>io.grakn.client</groupId>
        <artifactId>api</artifactId>
        <version>1.5.0</version>
    </dependency>
</dependencies>

Further documentation: https://dev.grakn.ai/docs/client-api/java

Build Grakn Client for Java from Source

Note: You don't need to compile Grakn Client from source if you just want to use it in your code. See the "Import Grakn Client for Java" section above.

  1. Make sure you have the following dependencies installed on your machine:

  2. Build the JAR:

    a) to build the native/raw JAR:

    bazel build //:client-java
    

    The Java library JAR will be produced at: bazel-bin/libclient-java.jar

    b) to build the JAR for a Maven application:

    bazel build //:assembl-maven
    

    The Maven JAR and POM will be produced at:

    bazel-bin/io.grakn.client:api.jar
    bazel-bin/pom.xml
    

About

Grakn Client for Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 95.2%
  • Python 4.8%