Thanks .
I change ss to bytebufferserializer. It works fine.
From: Raoyixuan (Shandy) [mailto:raoyix...@huawei.com]
Sent: Thursday, February 17, 2011 11:16 AM
To: user@cassandra.apache.org
Subject: RE: indexedslicesQuery class error
I modify it as below
StringSerializer ss
Expression(String,String) in the type
> IndexedSlicesQuery is not applicable for the
> arguments(String,ByteBuffer)
>
>
>
> *From:* Roshan Dawrani [mailto:roshandawr...@gmail.com]
> *Sent:* Thursday, February 17, 2011 10:54 AM
>
> *To:* user@cassandra.apache.org
> *
indexedSlicesQuery.execute();
It shows the error
The method addGtExpression(String,String) in the type
IndexedSlicesQuery is not applicable for the
arguments(String,ByteBuffer)
From: Roshan Dawrani [mailto:roshandawr...@gmail.com]
Sent: Thursday, February 17, 2011 10:54 AM
To: user@cassandra.ap
*From:* Roshan Dawrani [mailto:roshandawr...@gmail.com]
> *Sent:* Thursday, February 17, 2011 10:48 AM
>
> *To:* user@cassandra.apache.org
> *Subject:* Re: indexedslicesQuery class error
>
>
>
> addGtEqual???
>
>
>
> You are still making the same mistake.
>
But my requirement is get the data by birth_date and state , how to achieve it
by hector client?
From: Roshan Dawrani [mailto:roshandawr...@gmail.com]
Sent: Thursday, February 17, 2011 10:48 AM
To: user@cassandra.apache.org
Subject: Re: indexedslicesQuery class error
addGtEqual???
You are
etStartKey("");
> QueryResult> result =
> indexedSlicesQuery.execute();
>
> It shows the error:
>
> The method addGtEqual IndexedSlicesQuery is not applicable for the
> arguments(String,String)
>
>
>
>
>
>
>
> *From:* Roshan Dawrani [mailto:
t =
indexedSlicesQuery.execute();
It shows the error:
The method addGtEqual is not applicable for the
arguments(String,String)
From: Roshan Dawrani [mailto:roshandawr...@gmail.com]
Sent: Thursday, February 17, 2011 10:37 AM
To: user@cassandra.apache.org
Subject: Re: indexedslicesQuery
That's because in createIndexedSlicesQuery(), you have used SS as the
valueSerializer, and then in addGtExpression("birth_date", 1970L), you pass
a long as the value.
@see:
https://groups.google.com/group/hector-users/browse_thread/thread/520c5332dedfca4a
2011/2/17 Raoyixuan (Shandy)
> I do th