Tag Archives: Cassandra database.

Connect and Fetch data from Cassendra Using Java Code

1 Connector Class : import com.datastax.driver.core.Cluster; import com.datastax.driver.core.Host; import com.datastax.driver.core.Metadata; import com.datastax.driver.core.Session; import static java.lang.System.out; /** * Class used for connecting to Cassandra database. */ public class CassandraConnector { /** Cassandra Cluster. */ private Cluster cluster; /** Cassandra Session. */ … Continue reading

Rate this:

| Tagged , , | Leave a comment