cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Williams <>
Subject Re: please help with multiget
Date Tue, 18 Jan 2011 01:09:44 GMT
On Mon, Jan 17, 2011 at 6:53 PM, Shu Zhang <> wrote:

> Here's the method declaration for quick reference:
> map<string,list<ColumnOrSuperColumn>> multiget_slice(string keyspace,
> list<string> keys, ColumnParent column_parent, SlicePredicate predicate,
> ConsistencyLevel consistency_level)
> It looks like you must have the same SlicePredicate for every key in your
> batch retrieval, so what are you suppose to do when you need to retrieve
> different columns for different keys?

Issue multiple gets in parallel yourself.  Keep in mind that multiget is not
an optimization, in fact, it can work against you when one key exceeds the
rpc timeout, because you get nothing back.


View raw message