Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 68236 invoked from network); 8 Aug 2009 13:55:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Aug 2009 13:55:49 -0000 Received: (qmail 53172 invoked by uid 500); 8 Aug 2009 13:55:56 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 53149 invoked by uid 500); 8 Aug 2009 13:55:56 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 53140 invoked by uid 99); 8 Aug 2009 13:55:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Aug 2009 13:55:55 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 74.125.78.146 as permitted sender) Received: from [74.125.78.146] (HELO ey-out-1920.google.com) (74.125.78.146) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Aug 2009 13:55:45 +0000 Received: by ey-out-1920.google.com with SMTP id 13so595977eye.54 for ; Sat, 08 Aug 2009 06:55:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=MFRBCXrrZ4T50wjpFig3XKpXOTjKM7FR6Rdkx7ePaxk=; b=h9mNs9ZDdk3BG3+JSSqAVJwOp2NPLuwv4wm6HnNGWNe+H0buJgQvdvKdl2NysXb8Ae X7ef2K2VdyLJtD9cCL6uxgqPWOr6LVmK14ry85ZTgZdukYbfUKURLVb3AyqIIpuILbCH QizWcm2OZIAUfatg0c47WzLcqKP5h8ZdrPMQ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=B7mKFT/Hy/0zw2Xqy3ECc+ECxU6R3xFQQtrq2w84PjmfPDkFgR09JWoXpnE6cU7gEG rUryazPv5nD+44zwLGjKYoRDS2ZAbykPl6R7F9oNwucsUS03JgWA+m0lYQLDYVKVEIpQ Ewwdto2Ia9ZEKJyPPD7zCQI6IVlQuKCLZthOg= MIME-Version: 1.0 Received: by 10.216.87.147 with SMTP id y19mr465464wee.12.1249739723888; Sat, 08 Aug 2009 06:55:23 -0700 (PDT) In-Reply-To: References: <8969538b0908080633wa705711l1f091154397db223@mail.gmail.com> Date: Sat, 8 Aug 2009 08:55:23 -0500 Message-ID: Subject: Re: new thrift API From: Jonathan Ellis To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org (either of start and finish may be empty) On Sat, Aug 8, 2009 at 8:41 AM, Jonathan Ellis wrote: > Stabilizing but not quite finished (329 and 311 are still waiting for > review). =A0But the fundamentals are the same. > > You have start/finish because that's what defines a range. =A0You have > count because you often want the First N results. > > -Jonathan > > On Sat, Aug 8, 2009 at 8:33 AM, Jonas Bon=E9r wrote: >> Hey guys. >> >> Is the new API stabilizing? >> >> How is the new range functions suppose to work? >> =A0 =A0public List get_slice_by_names(String keyspace, String >> key, ColumnParent column_parent, List column_names, int >> consistency_level) throws InvalidRequestException, NotFoundException, >> TException; >> >> =A0 =A0public List get_slice(String keyspace, String key, >> ColumnParent column_parent, byte[] start, byte[] finish, boolean >> is_ascending, int count, int consistency_level) throws >> InvalidRequestException, NotFoundException, TException; >> >> These both have a start, finish and count. I was expecting start and >> offset or only start, finish. >> >> Is the new API documented yet? >> >> Thanks. >> >> -- >> Jonas Bon=E9r >> >> twitter: @jboner >> blog: =A0 =A0http://jonasboner.com >> work: =A0 http://crisp.se >> work: =A0 http://scalablesolutions.se >> code: =A0 http://github.com/jboner >> >