0
create column family testing
with key_validation_class = 'SomeType1'
and comparator = 'SomeType2'
and default_validation_class = 'SomeType3'
在這一行中代表什麼?在Cassandra Column Family中定義數據類型
set testing[a][b] = c
我的觀點正確嗎?
a is of type SomeType1
SomeType2 is how columns are sorted/sliced.
c is of type SomeType3
我的目標是創建一個商店包含時間序列數據
testing[a][b] = c;
a is of type 'String' or 'UTF8Type'
b is 'LongType'
c is 'FloatType'
我應該能夠做到
set testing['stats.randomNumber'][123456789] = 0.56;
set testing['stats.randomNumber'][123456790] = 90.33;