Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 32689 invoked from network); 21 Jan 2010 22:03:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jan 2010 22:03:31 -0000 Received: (qmail 72469 invoked by uid 500); 21 Jan 2010 22:03:30 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 72424 invoked by uid 500); 21 Jan 2010 22:03:30 -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 72415 invoked by uid 99); 21 Jan 2010 22:03:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jan 2010 22:03:30 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kevincastiglione@gmail.com designates 209.85.211.172 as permitted sender) Received: from [209.85.211.172] (HELO mail-yw0-f172.google.com) (209.85.211.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jan 2010 22:03:23 +0000 Received: by ywh2 with SMTP id 2so446892ywh.27 for ; Thu, 21 Jan 2010 14:03:02 -0800 (PST) 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 :from:date:message-id:subject:to:content-type; bh=mzBo2/L1TWNqSVRganCqQJdanMBWkdiA+3jpPYzLMbo=; b=xIsbcN8qUtH+yL3StjvQW39IyemZdPVanwNmqQNpBDCFqvnYJ4Hm7c0zi2LKjPXpfy LkBSDL+4d5SvWwRgSiav6eCjn4FAXaVCzK2s7OLHR7xiPZsgera+jSjWYP1CanLMykCs wZn5M/uCipg+r665hC4eOMcGy+cTXCLwUPz5I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=qXkVHJw8UgXa07oydsSDKyjGjG3Jxvb0dn2naGj4dPffASxmq4eX+54Kr/TUsPO129 OJZLviONibHg9idVPGkyeUgg5gbtdyueZy71ZRcmBXpFjw5nCLOBOg/PhlpM00XriXZN 1He6LkB3sUN8lT9+9qLE+R/RVasYH3NRIrFnA= MIME-Version: 1.0 Received: by 10.101.130.35 with SMTP id h35mr2810125ann.109.1264111382170; Thu, 21 Jan 2010 14:03:02 -0800 (PST) In-Reply-To: References: <91790a981001211256i4181bbddmba96e717c26d2115@mail.gmail.com> <91790a981001211332v405eab6djb16eb13f5a964fa2@mail.gmail.com> <91790a981001211349u4ecd6d12t6f404b88224a373b@mail.gmail.com> From: kevin Date: Thu, 21 Jan 2010 14:02:42 -0800 Message-ID: Subject: Re: Cassandra with LongType columns To: cassandra-user@incubator.apache.org Content-Type: multipart/alternative; boundary=001636c5bfb7e40c59047db3dd27 X-Virus-Checked: Checked by ClamAV on apache.org --001636c5bfb7e40c59047db3dd27 Content-Type: text/plain; charset=ISO-8859-1 return struct.pack('>q', n) # big endian = network order is this it? On Thu, Jan 21, 2010 at 1:59 PM, Jonathan Ellis wrote: > there's a few examples in test/system/test_server.py > > On Thu, Jan 21, 2010 at 3:58 PM, kevin wrote: > > On Thu, Jan 21, 2010 at 1:51 PM, Jonathan Ellis > wrote: > >> > >> in python you would use struct.pack, fwiw > >> > > can you pl. give an example of this in python? i have been trying this > for a > > while without success! > > > --001636c5bfb7e40c59047db3dd27 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable =A0=A0=A0 return struct.pack('>q', n) # big endian =3D network o= rder

is this it?

On Thu, Jan 21, 2= 010 at 1:59 PM, Jonathan Ellis <jbellis@gmail.com> wrote:
there's a few= examples in test/system/test_server.py

On Thu, Jan 21, 2010 at 3:58 PM, kevin <kevincastiglione@gmail.com> wrote:
> On Thu, Jan 21, 2010 at 1:51 PM, Jonathan Ellis <jbellis@gmail.com> wrote:
>>
>> in python you would use struct.pack, fwiw
>>
> can you pl. give an example of this in python? i have been trying this= for a
> while without success!
>

--001636c5bfb7e40c59047db3dd27--