incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donal Zang <zan...@ihep.ac.cn>
Subject Re: Querying superColumn
Date Thu, 16 Jun 2011 12:15:39 GMT
Well, you are looking for the secondary index.
But for now,AFAIK, the supercolumn can not use secondary index .
On 16/06/2011 13:55, Vivek Mishra wrote:
>
> Now for rowKey 'DEPT1' I have inserted multiple super column like:
>
> *Employee1{*
>
> *Name: Vivek*
>
> *country:  India*
>
> *}*
>
> **
>
> *Employee2{*
>
> *Name: Vivs*
>
> *country:  USA*
>
> *}*
>
> Now if I want to retrieve a super column whose rowkey is 'DEPT1' and  
> employee name is 'Vivek'. Can I get only 'EMPLOYEE1' ?
>


-- 
Donal Zang
Computing Center, IHEP
19B YuquanLu, Shijingshan District,Beijing, 100049
zangds@ihep.ac.cn
86 010 8823 6018


Mime
View raw message