我在 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 文档中找到它