Official Java client library and JDBC driver for Rockset.
Building the API client library requires:
- Java 1.8
- Maven
Set ROCKSET_APIKEY to run tests along with installation:
mvn package
To skip the tests:
mvn package -DskipTests
This will create a jar file rockset-java-${version}.jar
Add this dependency to your project's POM:
<dependency>
<groupId>com.rockset</groupId>
<artifactId>rockset-java</artifactId>
<version>0.10.3</version>
</dependency>
You can see a few sample examples of how to create a collection, how to put documents in a collection and how to use SQL to query your collections. There are also a set of javadocs that you can look to build your application.
Set ROCKSET_APIKEY with the API key in the environment variables. To run test:
mvn test
Feel free to log issues against this client through GitHub.
The Rockset JDBC driver is packaged as part of this java client. Here is an one example that shows how to use it.
The Rockset Java Client is licensed under the Apache 2.0 License