是否支持Cassandra计数器列系列的TTL? [英] Is TTL for Cassandra counter column family supported?

查看:366
本文介绍了是否支持Cassandra计数器列系列的TTL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Cassandra支持Counter列族的TTL吗?



具体来说,我们使用Hector作为Cassandra的客户端,我没有找到任何API接收TTL作为参数。至少 HFactory.createCounterColumn 没有TTL参数。

解决方案

没有。计数器列不存在TTL到期。有关为什么此功能对Cassandra计数器列无效的背景,请参见 CASSANDRA-2103 。 p>

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.

解决方案

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.

这篇关于是否支持Cassandra计数器列系列的TTL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆