cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler Hobbs <ty...@datastax.com>
Subject Re: Column Family row keys
Date Tue, 18 Oct 2011 21:10:57 GMT
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_count=1.

- Tyler

On Tue, Oct 18, 2011 at 3:58 PM, aaron morton <aaron@thelastpickle.com>wrote:

> 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:
>
> 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
>
>
>

Mime
View raw message