Re: Java Driver 2.1 reading counter values from row

2015-03-27 Thread Amila Paranawithana
Hi All, This is possible with cassandra-driver-core-2.1.5, with 'row.getLong("sum")'. Thanks On Fri, Mar 27, 2015 at 2:51 PM, Amila Paranawithana wrote: > in Apache Cassandra Java Driver 2.1 how to read counter type values from a > row when iterating over result set. > > eg: If I have a counte

Java Driver 2.1 reading counter values from row

2015-03-27 Thread Amila Paranawithana
in Apache Cassandra Java Driver 2.1 how to read counter type values from a row when iterating over result set. eg: If I have a counter table called 'countertable' with key and a counter colum 'sum' how can I read the value of the counter column using Java driver? If I say, row.getInt("sum") this g