【发布时间】:2012-11-16 02:06:18
【问题描述】:
我在 Hector 和 Cassandra 的教程中看到有 DynamicCompositeType。
谁能详细说说两者的区别
create column family Composite with comparator ='DynamicCompositeType
(t=>TimeUUIDType,s=>UTF8Type)'
and default_validation_class=UTF8Type and key_validation_class=UTF8Type;
和
create column family Composite
with comparator = 'CompositeType(TimeUUIDType,UTF8Type)'
and key_validation_class = 'UTF8Type'
and default_validation_class = 'UTF8Type'
我在 Cassandra 文档中没有找到它
【问题讨论】: