String cf = "p1";
try {
String r1 = getrowID("/content/cassandra/" + cf + "/c1");
String r2 = getrowID("/content/cassandra/" + cf + "/c1/c2");
CassandraResourceProvider cassandraResourceProvider = new CassandraResourceProvider();
createColumnFamily(cf, cassandraResourceProvider.getKeyspace(), new StringSerializer());
cassandraResourceProvider.setColumnFamily(cf);
addData(cassandraResourceProvider.getKeyspace(), cf, new StringSerializer(),
new String[]{
"'" + r1 + "','/content/cassandra/" + cf + "/c1','nt:cassandra1','nt:supercass1','resolutionPathInfo=json'",
"'" + r2 + "','/content/cassandra/" + cf + "/c1/c2','nt:cassandra','nt:supercass2','resolutionPathInfo=json'"
});