...
Wiki Markup |
---|
_\[New in 0.5:_ An optional {{Comment}} attribute may be used to attach additional human-readable information about the column family to its definition. _\]_ |
No Format |
---|
<ColumnFamily CompareWith="BytesType"
Name="Standard1"
FlushPeriodInMinutes="60"/>
<ColumnFamily CompareWith="UTF8Type"
Name="Standard2"/>
<ColumnFamily CompareWith="TimeUUIDType"
Name="StandardByUUID1"/>
<ColumnFamily ColumnType="Super"
CompareWith="UTF8Type"
CompareSubcolumnsWith="UTF8Type"
Name="Super1"
Comment="A column family with supercolumns, whose column and subcolumn names are UTF8 strings"/>
|
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.
...