You have the collection attributeNames, just iterate it
Iterator it = result.iterator();
while(it.hasNext()){
Row row = it.next();
for(String column : attributeNames) {
//not sure how to put the columnName and columnValue that
came back from the
Thanks Dave for the suggestion. I have all my columns name in this
collection-
*final Collection attributeNames*
*
*
And all my results back in this resultset-
*ResultSet result =
CassandraDatastaxConnection.getSession().execute(query);*
*
*
Now I need to store th
getColumnDefinitions only returns meta data, to get the data, use the
iterator to navigate the rows
Iterator it = result.iterator();
while (it.hasNext()) {
Row r = it.next();
//do stuff with row
}
On 04/21/2013 12:02 AM, Techy Teck wrote:
I am working with Datastax java-driver. And I