Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 68421 invoked from network); 6 Nov 2010 03:25:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Nov 2010 03:25:12 -0000 Received: (qmail 32348 invoked by uid 500); 6 Nov 2010 03:25:42 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 32179 invoked by uid 500); 6 Nov 2010 03:25:39 -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 32171 invoked by uid 99); 6 Nov 2010 03:25:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Nov 2010 03:25:39 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jt4websites@googlemail.com designates 209.85.216.172 as permitted sender) Received: from [209.85.216.172] (HELO mail-qy0-f172.google.com) (209.85.216.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Nov 2010 03:25:32 +0000 Received: by qyk32 with SMTP id 32so186321qyk.10 for ; Fri, 05 Nov 2010 20:25:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=ZSKLnIXqiLewPMIzbqj9KwKy3NLbbhHm49dIqtNE2A0=; b=qqwQbKR/K9ZqFFXGNDdjZXKRaOsGPQsdqPRIgQmyItJJ4NQX0J3sPOnZJlBy5kKuZ3 nKyllCG0OrwzPiQ8qG/9LcQM7wAmxYZViMDCBFvYI+L1MXAZCnACQCac9d+r8cOznxBs Vyqm+aBybVyawubcjpRPvjpi1j7rYXyvreIx8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=wf/cPvSzkgaYNzZGKBMweTuMK0HEhmja3kxHacQuLZEe/r8ZecmSXuDhPyqLDUG54i VFV+hWWLKm8fD2mqzDjiapOvainpOiFCl7eoSVtqKeln0K08tS2KN1OUcG1cD1thp6mM et6eKp51ajiEGudjmnNwMJkjU0qKkntbJgO2A= MIME-Version: 1.0 Received: by 10.229.84.204 with SMTP id k12mr2653138qcl.157.1289013910506; Fri, 05 Nov 2010 20:25:10 -0700 (PDT) Received: by 10.220.179.138 with HTTP; Fri, 5 Nov 2010 20:25:10 -0700 (PDT) Date: Sat, 6 Nov 2010 03:25:10 +0000 Message-ID: Subject: get_slice wont let me page backwards. From: J T To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001636426f9b3f0d71049459f080 X-Virus-Checked: Checked by ClamAV on apache.org --001636426f9b3f0d71049459f080 Content-Type: text/plain; charset=ISO-8859-1 Hi, I've been trying to write a wrapper around get_slice that supports paging semantics. I can get it to page forwards - starting with Start="" and then successively passing in a new Start / Count. But when i try going backwards from the end, passing Start = "" and Finish = "X", it doesn't give me the N columns up to column X as I would expect. It actually gives me a range of columns that fall much earlier in the paged set. Any suggestions on where I might be going wrong ? Kt. --001636426f9b3f0d71049459f080 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I've been trying to write a wrapper around get_s= lice that supports paging semantics.

I can get it = to page forwards - starting with Start=3D"" and then successively= passing in a new Start / Count.

But when i try going backwards from the end, passing St= art =3D "" and Finish =3D "X", it doesn't give me t= he N columns up to column X as I would expect.
It actually gives = me a range of columns that fall much earlier in the paged set.

Any suggestions on where I might be going wrong ?
=

Kt.=A0
--001636426f9b3f0d71049459f080--