private String getFriendsList(String id) {
/*Cluster cassandraCluster = HFactory.createCluster(
Constants.CLUSTER_NAME, new CassandraHostConfigurator(Constants.CLUSTER_HOST), credentials);*/
System.out.println("####### In getFriendsList() #######");
//Keyspace keyspaceOperator = HFactory.createKeyspace(Constants.KEYSPACE_NAME, cassandraCluster);
Keyspace keyspaceOperator = getKeyspace();
// query to get the list of friends for a particular user id
SliceQuery<String, Long, String> query = HFactory.createSliceQuery(keyspaceOperator, ss, ls, ss).
setColumnFamily(Constants.COL_FAMILY_NAME).setKey(id).setRange(0L, Long.MAX_VALUE, false, 4);
QueryResult<ColumnSlice<Long, String>> result = query.execute();
ColumnSlice<Long, String> resultCols = result.get();