Hello all.
New to cassandra and I am using pycassa to access data. I was
wondering someone knows how to just pull row keys insead of get_range?
This question may be a bit more on the pycassa but not sure. If
someone has a java snippet to do it that would be ok also
Thanks
There no first class support for just getting row keys, you will always want to
get a column.
You can fake it by requesting zero columns.
Cheers
-
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com
On 19/10/2011, at 3:53 AM, David Fischer(Gtalk) wrote:
A couple of notes:
* You need to use the master branch (not the most recent release) if you
want to use get_range() with column_count=0 and get any results.
* You'll get range ghosts (
http://wiki.apache.org/cassandra/FAQ#range_ghosts) with column_count=0. You
can avoid them if you set column_
On Tue, Oct 18, 2011 at 4:10 PM, Tyler Hobbs wrote:
> * You'll get range ghosts
> (http://wiki.apache.org/cassandra/FAQ#range_ghosts) with column_count=0.
> You can avoid them if you set column_count=1.
What heuristic do you use for skipping empty rows?
--
Jonathan Ellis
Project Chair, Apache
On Tue, Oct 18, 2011 at 4:30 PM, Jonathan Ellis wrote:
> On Tue, Oct 18, 2011 at 4:10 PM, Tyler Hobbs wrote:
> > * You'll get range ghosts
> > (http://wiki.apache.org/cassandra/FAQ#range_ghosts) with column_count=0.
> > You can avoid them if you set column_count=1.
>
> What heuristic do you us