Monday, August 26, 2013

Import Data from a CSV file to a Cassandra Keysapce - Java

In this post I am giving a Java solution for importing data from a CSV file to a Cassandra Keyspace.

In the example given below I have used "opencsv" which is a very simple csv parser library for Java to read the data from the csv file. Opencsv is available under a commercial-friendly Apache 2.0 license.