Is TTL for Cassandra counter column family supported?

北慕城南 提交于 2019-12-08 17:14:17

问题


Does Cassandra support TTL for the Counter column family?

Specifically we use Hector as a client to Cassandra and I didn't find any API receiving TTL as a parameter. At least HFactory.createCounterColumn doesn't have TTL argument.


回答1:


No. TTL expiration does not exist for counter columns. See CASSANDRA-2103 for background on why this feature doesn't make sense for Cassandra counter columns.



来源:https://stackoverflow.com/questions/19752308/is-ttl-for-cassandra-counter-column-family-supported

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!