- Download the preview version of the Java DataStax Driver from
<the EAP portal>
. - Extract the tarball.
- To install the packages to maven
cd
to the directory, then run./install_maven.sh
. - Alternately you can directly import the requisite jars from the tarball.
- Download a DS On Demand config file from
<DSOD admin portal>
.
Connect and query example
import com.datastax.dse.driver.api.core.DseSession;
import com.datastax.dse.driver.api.core.DseSessionBuilder;