incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sri Ramya <ramya.1...@gmail.com>
Subject Re: cql query
Date Sat, 04 May 2013 12:56:16 GMT
thanks for ur reply.

On Fri, May 3, 2013 at 11:45 PM, Jabbar Azam <ajazam@gmail.com> wrote:

> Sorry Sri,  I've never used hector. How ever it's straightforward in
> astyanax.  There are examples on the github page.
> On 3 May 2013 18:50, "Sri Ramya" <ramya.1255@gmail.com> wrote:
>
>> Can you tell me how to do this in hector. Can you give me some example.
>>
>> On Fri, May 3, 2013 at 10:29 AM, Sri Ramya <ramya.1255@gmail.com> wrote:
>>
>>> thank you very much. i will try and let you know whether its working or
>>> not
>>>
>>>
>>>
>>> On Thu, May 2, 2013 at 7:04 PM, Jabbar Azam <ajazam@gmail.com> wrote:
>>>
>>>> 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