From user-return-18551-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Fri Jul 8 20:33:38 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 65A4D6888 for ; Fri, 8 Jul 2011 20:33:38 +0000 (UTC) Received: (qmail 93566 invoked by uid 500); 8 Jul 2011 20:33:36 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 93421 invoked by uid 500); 8 Jul 2011 20:33:35 -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 93412 invoked by uid 99); 8 Jul 2011 20:33:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2011 20:33:35 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a78.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2011 20:33:27 +0000 Received: from homiemail-a78.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a78.g.dreamhost.com (Postfix) with ESMTP id BFB1115C064 for ; Fri, 8 Jul 2011 13:33:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; q=dns; s=thelastpickle.com; b=flSWlXISvR nWerqD5YOdfDV/o/8JDHJGQoPXnIVYgmDZr3QG0TRVjQvcg2doVCvbgwRiQwOg6m mcejaFO/P9GmaP6LfqDCDaNOrOKATRuJo6lOlv0tSo16yuwDShMqHWf2UtwkePPf H6QdlJNF1/G2oozF54ltOpr8slFuQt84s= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; s=thelastpickle.com; bh=SZk/2cofCviS8Gko L26EHwObIVk=; b=2/IgfELD2dNS0C0hS22ozSh/nUe7mdOPcAyXUDqSK/2VuuyM 9pllTFA+bH6HthbkHliuFvz0efzY1uH6c2aZyc4P6T3FlDafvevYryG9fo+8RyyJ 80oERBnsxY5RMc0+EI2ETvwL9oV02V9JNdV2q17QpPgziF/PhGh+td1mIwQ= Received: from [10.12.0.94] (unknown [208.70.28.212]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a78.g.dreamhost.com (Postfix) with ESMTPSA id 8930415C062 for ; Fri, 8 Jul 2011 13:33:00 -0700 (PDT) From: aaron morton Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-3--1009986091 Subject: Re: Re : result sorted by keys in reversed Date: Fri, 8 Jul 2011 13:32:59 -0700 In-Reply-To: <1310028980.13273.YahooMailNeo@web132401.mail.ird.yahoo.com> To: user@cassandra.apache.org References: <1309959575.19227.YahooMailNeo@web132404.mail.ird.yahoo.com> <1310028980.13273.YahooMailNeo@web132401.mail.ird.yahoo.com> Message-Id: <0D9D4AEF-4B6F-4F57-ADFD-AC2F3EDD83CC@thelastpickle.com> X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-3--1009986091 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 > Is it possible to have same results sorting in reversed by another = method without get_range_slice in JAVA ? Sorry I don't understand your question. Cheers ----------------- Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 7 Jul 2011, at 01:56, Monnom Monprenom wrote: > Thanks, >=20 > Is it possible to have same results sorting in reversed by another = method without get_range_slice in JAVA ? >=20 > De : Aaron Morton > =C0 : "user@cassandra.apache.org" > Envoy=E9 le : Jeudi 7 Juillet 2011 2h52 > Objet : Re: result sorted by keys in reversed >=20 > It's not currently supported via the api. But I *think* it's = technically possible, the code could page backwards using the index = sampling the same way it does for columns.=20 >=20 > Best advice is to raise a ticket on = https://issues.apache.org/jira/browse/CASSANDRA (maybe do a search = first, someone else may have requested it) >=20 > Cheers > ----------------- > Aaron Morton > Freelance Cassandra Developer > @aaronmorton > http://www.thelastpickle.com >=20 > On 7/07/2011, at 1:39 AM, Monnom Monprenom = wrote: >=20 >> Hi, >>=20 >> I am using get_range_slice and I get the results sorted by keys, Is = it possible to have the results also sorted by keys but in reverse (from = the biggest to the smallest)? >=20 >=20 --Apple-Mail-3--1009986091 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
Is it possible to have same results sorting in = reversed by another method without get_range_slice in JAVA = ?

Sorry I don't understand = your question.

Cheers

http://www.thelastpickle.com

On 7 Jul 2011, at 01:56, Monnom Monprenom wrote:


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

It's not = currently supported via the api. But I *think* it's technically = possible, the code could  page backwards using the index sampling = the same way it does for columns. 

Best advice is = to raise a ticket on https://issues.ap= ache.org/jira/browse/CASSANDRA (maybe do a search first, someone = else may have requested = it)

Cheers
-----------------
Aa= ron Morton
Freelance Cassandra = Developer
@aaronmorton

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

Hi,

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



= --Apple-Mail-3--1009986091--