From user-return-18492-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Thu Jul 7 08:57:00 2011 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8CC87407A for ; Thu, 7 Jul 2011 08:57:00 +0000 (UTC) Received: (qmail 79709 invoked by uid 500); 7 Jul 2011 08:56:57 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 79420 invoked by uid 500); 7 Jul 2011 08:56:52 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 79408 invoked by uid 99); 7 Jul 2011 08:56:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2011 08:56:50 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [77.238.189.195] (HELO nm13-vm0.bullet.mail.ird.yahoo.com) (77.238.189.195) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 07 Jul 2011 08:56:41 +0000 Received: from [77.238.189.52] by nm13.bullet.mail.ird.yahoo.com with NNFMP; 07 Jul 2011 08:56:21 -0000 Received: from [212.82.108.252] by tm5.bullet.mail.ird.yahoo.com with NNFMP; 07 Jul 2011 08:56:21 -0000 Received: from [127.0.0.1] by omp1017.mail.ird.yahoo.com with NNFMP; 07 Jul 2011 08:56:21 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 64506.77805.bm@omp1017.mail.ird.yahoo.com Received: (qmail 37787 invoked by uid 60001); 7 Jul 2011 08:56:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1310028980; bh=O4z5RLFss4KYj1IW17rJiaUJeAPhsyIGvDK2B1cBiUI=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=BxBiF3wsDH9pkcf3EpSu/hSgGAiKkg8hqSAk+CyeGfh/zzwkNXnbB+nUlmAGAbZ4li5V0mSzCXO/zvNcTmTGtg5W/wbKDXPkTfnx86TAVN6WFwo7SppQK3T/HYI7PbA8bnK7XB0fWPvH98v+tc5E5oTEdFTtdTufM6M3ANVbeKo= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=1o0s/NskkfUT2sPUP+Kxdc33gU9yUHiXUhvRZuhY5LpIbtLj+wLScocPo/BEWLlxzXy5ZDtnIz6rAemJohvxgku7WrKyRcSjRaO7tO4pQ5ZJj+XUBculGlp9doD7FSBJHGs/aYxfJ9APV0Fcg4zwsWTk+iYKvB2ZMKCQMCK40Yc=; X-YMail-OSG: OBJTojYVM1m.KA1ZrmhTZ39kQar9V0oVRjt.GxyDSg.8FDn bf_g2PR47fPq4O03I5SUHBbnB6.98Y9qvL47LBlSd3XptVK1ZV7Q1pF8iLNz LkkhndB9V3wcBuydyK0jD0VwS5sUl_ka5w76CcyrWjJ7oImgo34POQWN6Fcs .FziamKdSPqV2vo1vlu3ee2fPvuA6aXjJ0n1xBGWUGI7Osx7Ps.pUgsXxKHp KiKdREjNL6DmWekZLLvvkY8qCxoaxUzyLgS4XD3lm0Hxp_yIAD4mmFga5w2p fqRvbbcQ.GTEQxas81iEqXNkaDpc4hVC4riwnuH3MxWlAqSRG.Ui2SrdUZ_9 HsolCvKQ5TkJos0RBsiHE9PBJfoJbAj4ZipRTw.I4Mg-- Received: from [64.208.49.20] by web132401.mail.ird.yahoo.com via HTTP; Thu, 07 Jul 2011 09:56:20 BST X-Mailer: YahooMailWebService/0.8.112.307740 References: <1309959575.19227.YahooMailNeo@web132404.mail.ird.yahoo.com> Message-ID: <1310028980.13273.YahooMailNeo@web132401.mail.ird.yahoo.com> Date: Thu, 7 Jul 2011 09:56:20 +0100 (BST) From: Monnom Monprenom Reply-To: Monnom Monprenom Subject: Re : result sorted by keys in reversed To: "user@cassandra.apache.org" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2072996651-1310028980=:13273" X-Virus-Checked: Checked by ClamAV on apache.org --0-2072996651-1310028980=:13273 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thanks,=0A=0AIs it possible to have same results sorting in reversed by ano= ther method without get_range_slice in JAVA ?=0A=0A=0A=0A__________________= ______________=0ADe=A0: Aaron Morton =0A=C0=A0: "u= ser@cassandra.apache.org" =0AEnvoy=E9 le : Jeudi= 7 Juillet 2011 2h52=0AObjet=A0: Re: result sorted by keys in reversed=0A= =0A=0AIt's not currently supported via the api. But I *think* it's technica= lly possible, the code could =A0page backwards using the index sampling the= same way it does for columns.=A0=0A=0A=0ABest advice is to raise a ticket = on=A0https://issues.apache.org/jira/browse/CASSANDRA (maybe do a search fir= st, someone else may have requested it)=0A=0ACheers=0A=0A-----------------= =0AAaron Morton=0AFreelance Cassandra Developer=0A@aaronmorton=0Ahttp://www= .thelastpickle.com=0A=0AOn 7/07/2011, at 1:39 AM, Monnom Monprenom wrote:=0A=0A=0AHi,=0A>=0A>=0A>I am using get_range_slice a= nd I get the results sorted by keys, Is it possible to have the results als= o sorted by keys but in reverse (from the biggest to the smallest)? --0-2072996651-1310028980=:13273 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks,

Is it possible to have sam= e results sorting in reversed by another method without get_range_sl= ice in JAVA ?


De : Aaron Morton <aaron@thelastpickle.com>
=C0 : "user@cassandra.apache.org" <= user@cassandra.apache.org>
Envo= y=E9 le : Jeudi 7 Juillet 2011 2h52
Objet : Re: result sorted by keys in reversed

It's not currently supported via th= e api. But I *think* it's technically possible, the code could  page b= ackwards using the index sampling the same way it does for columns. 
Best advice is to raise a ticket on https://issues.apache.org/jira/browse/CASSANDRA (maybe do a search f= irst, someone else may have requested it)

Cheers
-----------------
Aaron Morton
Freelance Cassand= ra Developer
@aaronmorton

On 7/07/2011, at 1:39 AM, Monnom Monprenom <accountfordev@yahoo.fr> wrot= e:

Hi,
=0A
=0A
=0A
I am using get_range_slice and I get the results sorted b= y keys, Is it possible to have the results also s= orted by keys but in reverse (from the biggest to the smallest)?
=0A


--0-2072996651-1310028980=:13273--