Re: Querying composite keys

2013-02-10 Thread Vivek Mishra
You can query over composite columns as: 1) Partition key 2) First part of clustered key(using EQ ops). Secondary indexes over non composite columns are not possible. -Vivek On Mon, Feb 11, 2013 at 12:06 PM, Rishabh Agrawal < rishabh.agra...@impetus.co.in> wrote: > Hello > > > > I have key and

Querying composite keys

2013-02-10 Thread Rishabh Agrawal
Hello I have key and columns defined in following fashion: HotelName1:RoomNum1 HotelName2:RoomNum2 HotelName3:RoomNum3 Key1:TimeStamp:VersionNum Is there a way that I can query this schema by only 'key' or 'HotelName' i.e. querying using a part of composite key and not the full key