...
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 |
---|
column_families:
- name: Standard1
compare_with: BytesType
- name: Standard2
compare_with: UTF8Type
read_repair_chance: 0.1
keys_cached: 100
- name: StandardByUUID1
compare_with: TimeUUIDType
- name: Super1
column_type: Super
compare_with: BytesType
compare_subcolumns_with: BytesType
- name: Super2
column_type: Super
compare_subcolumns_with: UTF8Type
preloadRowCache: true
rows_cached: 10000
keys_cached: 50
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.
...