Documentation: http://dev.grakn.ai/docs/client-api/java
Distribution
For Java through Maven
Available through https://repo.grakn.ai
xml
<repositories>
<repository>
<id>repo.grakn.ai</id>
<url>https://repo.grakn.ai/repository/maven/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupid>io.grakn.protocol</groupid>
<artifactid>grakn-session</artifactid>
<version>2.0.0-alpha-7</version>
</dependency>
<dependency>
<groupid>io.grakn.protocol</groupid>
<artifactid>grakn-keyspace</artifactid>
<version>2.0.0-alpha-7</version>
</dependency>
</dependencies>
New Features
Bugs Fixed
Code Refactors
Other Improvements
- **Rename Python package in pip artifact to grakn_protocol**
Our pip artifact is named `grakn-protocol` but the Python package used to import Python objects from it was inconsistently named `graknprotocol`. So we've renamed it to `grakn_protocol`.
- **Reenable remote build caching**
Speed up builds by utilizing remote caching provided by BuildBuddy.
- **Add prefetch option**
On executing a Graql query, Grakn automatically streams the first batch of responses back to the client. But, for an `insert` query, they usually don't need those answers. To remedy this, we made `prefetch` a configurable per-query option.
- **Introduce a new transaction type for reading from secondary replicas**
We've introduced a new Grakn-Cluster-specific transaction type, "read secondary". It is a read-only transaction that may read not only from primary but also from secondary replicas.