Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "FAQ" page has been changed by TylerHobbs: http://wiki.apache.org/cassandra/FAQ?action=diff&rev1=147&rev2=148 Comment: Add a few client-specific details to the #iter_world faq entry == How can I iterate over all the rows in a ColumnFamily? == Simple but slow: Use get_range_slices, start with the empty string, and after each call use the last key read as the start key in the next iteration. + Most clients support an easy way to do this. For example, [[http://pycassa.github.com/pycassa/api/pycassa/columnfamily.html#pycassa.columnfamily.ColumnFamily.get_range|pycassa's get_range()]], and [[http://thobbs.github.com/phpcassa/api/class-phpcassa.ColumnFamily.html#_get_range|phpcassa's get_range()]] return an iterator that fetches the next batch of rows automatically. Hector has an [[https://github.com/zznate/hector-examples/blob/master/src/main/java/com/riptano/cassandra/hector/example/PaginateGetRangeSlices.java|example of how to do this]]. + Better: use HadoopSupport. <<Anchor(no_keyspaces)>>