incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jabbar Azam <aja...@gmail.com>
Subject Re: cql query
Date Thu, 02 May 2013 13:34:58 GMT
Hello Sri,

As far as I know you can if name and age are part of your partition key and
timestamp is the cluster key e.g.

create table columnfamily (
    name varchar,
    age varchar,
    tstamp timestamp,
   partition key((name, age), tstamp)
);




Thanks

Jabbar Azam


On 2 May 2013 11:45, Sri Ramya <ramya.1255@gmail.com> wrote:

> hi
>
> Can some body tell me is it possible to to do multiple query on cassandra
> like "Select * from columnfamily where name='foo' and age ='21' and
> timestamp >= 'unixtimestamp' ";
>
> Please tell me some guidence for these kind of queries
>
>   Thank you
>

Mime
View raw message