On Fri, Jan 21, 2011 at 8:07 AM, Aaron Morton <aa...@thelastpickle.com>wrote:

> There is a truncate() function that will clear a CF. It may leave a
> snapshot around, cannot remember exactly.
>

Not sure if Hector (0.7.0-22) has added truncate() to its API yet. I can't
find it.

In Hector, I see a *dropColumnFamily()* that goes to Cassandra's *
system_drop_column_family()* call.

I am not sure how this system_drop_column_family() fares in comparision to
truncate() in terms of time the clean-up would take.

I am new to Hector/Cass and all my exposure to Cass API has been through
Hector. So a basic question.

If Hector has not provided truncate() to its API, can I bypass it and make
the call to Cassandra API directly? Does Hector leave any opening for such
bypassed calls?

Thanks.

Reply via email to