You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Mark <st...@gmail.com> on 2010/08/30 19:15:33 UTC
Dumping
Is there an easy way to retrieve all values from a CF.. similar to a
dump?
How about retrieving all columns for a particular key?
In the second use case a simple iteration would work using a start and
finish but how would this be accomplished across all keys for a
particular CF when you don't know the keys in advance?
Thanks
Re: Dumping
Posted by aaron morton <aa...@thelastpickle.com>.
sstable2json discussed here http://wiki.apache.org/cassandra/Operations may be what you are after, or the snapshot feature. Not sure what you want to use the dump for.
If you do not know the keys in the CF in advance take a look at get_range_slices (http://wiki.apache.org/cassandra/API) it allows you to slice through the keys in a similar way to slicing through the columns.
Aaron
On 31 Aug 2010, at 05:15, Mark wrote:
> Is there an easy way to retrieve all values from a CF.. similar to a dump?
>
> How about retrieving all columns for a particular key?
>
> In the second use case a simple iteration would work using a start and finish but how would this be accomplished across all keys for a particular CF when you don't know the keys in advance?
>
> Thanks