cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Cassandra with LongType columns
Date Thu, 21 Jan 2010 21:42:51 GMT
2010/1/21 S├ębastien Pierre <sebastien.pierre@gmail.com>:
> Hi Jonathan,
> Strangely, using the Java client I have no other option than using string,

sure you do.  it takes a byte[], there are other ways of getting a
byte[] than String.getBytes.

the easiest way to get a byte[] with the contents of a long is to use
a ByteBuffer.

-Jonathan

Mime
View raw message