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] Update of "StorageConfiguration" by NickBailey
Date Thu, 14 Apr 2011 14:55:35 GMT
Dear Wiki user,

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

The "StorageConfiguration" page has been changed by NickBailey.
The comment on this change is: Add BOP info.
http://wiki.apache.org/cassandra/StorageConfiguration?action=diff&rev1=57&rev2=58

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

  
   * '''partitioner'''
  
- Partitioner: any {{{IPartitioner}}} may be used, including your own as long as it is on
the classpath.  Out of the box, Cassandra provides {{{org.apache.cassandra.dht.RandomPartitioner}}},
{{{org.apache.cassandra.dht.OrderPreservingPartitioner}}}, and {{{org.apache.cassandra.dht.CollatingOrderPreservingPartitioner}}}.
(CollatingOPP colates according to EN,US rules, not naive byte ordering.  Use this as an example
if you need locale-aware collation.) Range queries require using an order-preserving partitioner.
+ Partitioner: any {{{IPartitioner}}} may be used, including your own as long as it is on
the classpath.  Out of the box, Cassandra provides {{{org.apache.cassandra.dht.RandomPartitioner}}},
{{{org.apache.cassandra.dht.OrderPreservingPartitioner}}}, {{{org.apache.cassandra.dht.ByteOrderedPartitioner}}},
and {{{org.apache.cassandra.dht.CollatingOrderPreservingPartitioner}}}. (CollatingOPP colates
according to EN,US rules, not naive byte ordering.  Use this as an example if you need locale-aware
collation.) The only difference between BOP and OPP is that OPP requires keys to be UTF-8
encoded. Range queries require using an order-preserving partitioner.
  
  Achtung!  Changing this parameter requires wiping your data directories, since the partitioner
can modify the !sstable on-disk format.
  

Mime
View raw message