Thanks Richard.
You are right. I missed that in key validation class.
-Original Message-
From: Richard Low [mailto:r...@acunu.com]
Sent: Tuesday, June 21, 2011 12:44 PM
To: user@cassandra.apache.org
Subject: Re: issue with querying SuperColumn
You have key validation class UTF8Type for
rk.
Richard.
--
Richard Low
Acunu | http://www.acunu.com | @acunu
On Tue, Jun 21, 2011 at 7:36 AM, Vivek Mishra
wrote:
>
>
>
>
> I am facing one issue with querying superColumn using clien.get() API.
> Although it is working when I try it for a ColumnFamily(rather than
I am facing one issue with querying superColumn using clien.get() API. Although
it is working when I try it for a ColumnFamily(rather than SuperColumnFamily).
It is working for:
ColumnFamily: users
Key Validation Class: org.apache.cassandra.db.marshal.UTF8Type
Default column
ect. But that will not solve issue of data colocation(data locality) ?
>
>
>
> From: Sasha Dolgy [mailto:sdo...@gmail.com]
> Sent: Thursday, June 16, 2011 8:47 PM
> To: user@cassandra.apache.org
> Subject: Re: Querying superColumn
>
>
>
> Have 1 ro
Correct. But that will not solve issue of data colocation(data locality) ?
From: Sasha Dolgy [mailto:sdo...@gmail.com]
Sent: Thursday, June 16, 2011 8:47 PM
To: user@cassandra.apache.org
Subject: Re: Querying superColumn
Have 1 row with employee info for country/office/division, each column an
Have 1 row with employee info for country/office/division, each column an
employee id and json info about the employee or a reference.to.another row
id for that employee data
No more supercolumn.
On Jun 16, 2011 1:56 PM, "Vivek Mishra" wrote:
> I have a question about querying super column
>
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{*
*Nam
I have a question about querying super column
For example:
I have a supercolumnFamily DEPARTMENT with dynamic superColumn 'EMPLOYEE'(
name, country).
Now for rowKey 'DEPT1' I have inserted multiple super column like:
Employee1{
Name: Vivek
country: India
}
Employee2{
Name: Vivs
country: US