vastjb.blogg.se

Apollo cloud make a copy
Apollo cloud make a copy











apollo cloud make a copy

#Apollo cloud make a copy driver#

The withCloudSecureConnectBundle() method as shown in the following example.ĭataStax Java Driver for Apache Cassandra 3.x import .Cluster import .ResultSet import .Row import .Session import java.io.File public class ConnectDatabase Ĭ. Note: With the Cluster.builder() object, make sure to set the path to the secureĬonnect bundle for your Apollo database ( “/path/to/secure-connect-database_name.zip”) in Runs a CQL query, and prints the output to the console. The following example implements a ConnectDatabase class to connect to your Apollo database, Copy the following code for your DataStax Driver into the ConnectDatabase.java file. Create a ConnectDatabase.java file in the /src/main/java directory for your Java project. Include the driver artifacts in your pom.xml file according to this pom.xml dependency.Ī. The cloud connect api does not support java 6 or 7. Ensure you are using Java 8 or higher.Download the secure connect bundle (instructions forĪWS) to obtain connection credentials for your.The following is a Quick Start guide to writing a simple application that can connect to an ApolloĪWS alternatively, have a team member provide access to theirĪpollo database (instructions for GCP andĪWS) to obtain database connection details. The only differences are in how theĭriver is configured in an application and that you will need to obtain a secure connect bundle. The driver to connect to any normal Apache Cassandra® database. Using the DataStax Java Driver to connect to a DataStax Apollo database is almost identical to using













Apollo cloud make a copy