cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kevin <kevincastigli...@gmail.com>
Subject Re: Cassandra with LongType columns
Date Thu, 21 Jan 2010 22:02:42 GMT
    return struct.pack('>q', n) # big endian = network order

is this it?

On Thu, Jan 21, 2010 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!
> >
>

Mime
View raw message