incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Morton <>
Subject Re: Fauna Questions
Date Wed, 15 Dec 2010 00:57:08 GMT
There is a truncate() function on the ruby api if you require Cassandra/0.7 this can truncate
 all the data in a CF. It will call the truncate function on the thrift api.

I do not know of a precise way to get a count of rows. There is a function to count the number
of columns, see count_columns() on the ruby api. But that is not precise either as that would
require stopping inserts while the count is going on.

The fauna client also has some documentation in the code as comments.

Hope that helps

On 15/12/2010, at 4:14 AM, Alberto Velandia <> wrote:

> Hi has anyone noticed that the documentation for the Cassandra Class is gone from the
> I was wondering if there's a way for me to count how many rows exist inside  a Column
Family and a way to erase the contents of that Column Family
> Thanks

View raw message