Accessing data from Cassandra using java

241 Views Asked by At

I have multi-lingual text crawled from various websites using apache nutch in Cassandra database. I have also defined a Java class for translation using the bing client. But can anyone tell me how to connect to Cassandra and translate the multi-lingual text using the Java class I defined and store it back into Cassandra itself with an appended column?

Thanks in advance.

1

There are 1 best solutions below

2
On

As per question you have already code for translation you need only to connect your Cassandra Data Base.

Have you using any specific java client for Cassandra?

From below link you get all the java client for Cassandra DB.

http://cassandra.apache.org/doc/latest/getting_started/drivers.html