Questions tagged [datastax-java-driver]

A Java client driver for Apache Cassandra. This driver works exclusively with the Cassandra Query Language version 3 (CQL3) and Cassandra's binary protocol.

The DataStax Java driver for Apache Cassandra is the de-facto standard for connecting to a Cassandra cluster from a Java application. Can be used to connect to:

  • Apache Cassandra
  • DataStax Enterprise (DSE)
  • DataStax Astra DB

Support and documentation: https://docs.datastax.com/en/developer/java-driver/latest/

997 questions
-1
votes
1 answer

cassandra datastac Codec not found varchar <-> java.util.Map

we used dse-driver 1.8.2 in our code, i have entity defined as: public class HistoryByEmail implements Serializable { ... @Column(name = ADDITIONAL_DATA) private Map additionalData; } when i tried to read the value out of…
user468587
  • 4,799
  • 24
  • 67
  • 124
-1
votes
1 answer

guava.jar missing file

hibernate-ogm-cassandra NoClassDefFoundError: com/google/common/util/concurrent/AsyncFunction I already look up the answer from other question StackOverflow-40693212, and it said this is guava.jar missing problem. But I check the maven dependency…
Emma
  • 29
  • 3
-1
votes
2 answers

java.lang.NoSuchMethodError: com.datastax.driver.core.BoundStatement.set

I am new to spring boot and cassandra. I tried to save data to cassandra table via flink-cassandra-connector. pom.xml
-1
votes
1 answer

Datastax driver Metrics on Datadog

Can any one help me in getting the Datastax driver Metrics to Datadog. Tried to search but no luck and was not able find any. The following are the metrics that we need to se in the dataDog.
Prakash
  • 578
  • 1
  • 5
  • 22
-1
votes
2 answers

cassandra java binding a collection of maps to a prepared statement

I am using datastax' Cassandra Java driver. My Cassandra supports CQL 2 only. I have a prepared INSERT statement that needs to accept a list of maps. This is my schema: CREATE TYPE test.snap_guid ( l bigint, h bigint ); CREATE TABLE test.t…
Shoham
  • 1,079
  • 1
  • 12
  • 17
-2
votes
1 answer

is the mapper class from com.datastax.driver.mapping threadsafe?

it would seem so since it receives a Session object(which is thread-safe), but i could find no "official" statement on the subject can anyone please confirm?
-3
votes
1 answer

Garbage Collection issue with datastax Mapper Objetcs

Can someone please help? Garbage collector is not collecting these mapper objects and heap free space is not going down. com.datastax.driver.mapping.Mapper class objects getting created in heap memory. I have given code where we are using mapper,…
amitwdh
  • 661
  • 2
  • 9
  • 19
1 2 3
66
67