You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by "Hiller, Dean" <De...@nrel.gov> on 2012/09/04 18:56:24 UTC
anyone know how to lookup non-continguous columns BUT for prefixes?
I have a row that is an index like so
Index row -> <value1>.<pk99>, <value1>.<pk20>, <value2>.<pk32>, <value2>.<pk7> , <value3>.<pk24>, <value4>.<pk54>, <value5>.<pk31>
I would like to get all of the pks for
<value2> which are pk32 and pk7
And
<value4> which are pk54
This is a trimmed down example of course. I am thinking maybe I might just use the astyanax async to send out 500 requests instead.
Thanks,
Dean
Re: anyone know how to lookup non-continguous columns BUT for prefixes?
Posted by aaron morton <aa...@thelastpickle.com>.
It's not possible to get non contiguous column slices.
> This is a trimmed down example of course. I am thinking maybe I might just use the astyanax async to send out 500 requests instead.
Keep an eye on what happens on the server side.
Sometimes less is more.
Cheers
-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com
On 5/09/2012, at 4:56 AM, "Hiller, Dean" <De...@nrel.gov> wrote:
> I have a row that is an index like so
>
> Index row -> <value1>.<pk99>, <value1>.<pk20>, <value2>.<pk32>, <value2>.<pk7> , <value3>.<pk24>, <value4>.<pk54>, <value5>.<pk31>
>
> I would like to get all of the pks for
> <value2> which are pk32 and pk7
> And
> <value4> which are pk54
>
> This is a trimmed down example of course. I am thinking maybe I might just use the astyanax async to send out 500 requests instead.
>
> Thanks,
> Dean
>
>