Skip to content

Instantly share code, notes, and snippets.

View abhijitchanda's full-sized avatar

Abhijit Chanda abhijitchanda

  • Gamma Analytics
  • India
View GitHub Profile
@abhijitchanda
abhijitchanda / DataImportExample.java
Created September 24, 2012 07:17
Cassandra SSTableLoader Example
/**
* Disclaimer:
* This file is an example on how to use the Cassandra SSTableSimpleUnsortedWriter class to create
* sstables from a csv input file.
* While this has been tested to work, this program is provided "as is" with no guarantee. Moreover,
* it's primary aim is toward simplicity rather than completness. In partical, don't use this as an
* example to parse csv files at home.
*/
import java.nio.ByteBuffer;
import java.io.*;