10

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.

Jacek Laskowski
  • 72,696
  • 27
  • 242
  • 420
VladiF
  • 187
  • 2
  • 6

1 Answers1

8

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.

Tupshin Harper
  • 1,267
  • 9
  • 12