cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Trivial Update of "FAQ" by gdusbabek
Date Wed, 26 May 2010 12:49:31 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "FAQ" page has been changed by gdusbabek.
The comment on this change is: Unlink LongType in faq answer..
http://wiki.apache.org/cassandra/FAQ?action=diff&rev1=66&rev2=67

--------------------------------------------------

  
  == Insert operation throws InvalidRequestException with message "A long is exactly 8 bytes"
==
  
- You are propably using LongType column sorter in your column family. LongType assumes that
the numbers stored into column names are exactly 64bit (8 bytes) long and in big endian format.
Example code how to pack and unpack an integer for storing into cassandra and unpacking it
for php:
+ You are propably using !LongType column sorter in your column family. !LongType assumes
that the numbers stored into column names are exactly 64bit (8 bytes) long and in big endian
format. Example code how to pack and unpack an integer for storing into cassandra and unpacking
it for php:
  
  {{{
  	/**

Mime
View raw message