Using Java, can I scan a Cassandra table and just update the TTL of a row? I don\'t want to change any data. I just want to scan Cassandra table and set TTL of a few rows.>
Alternatively, you can set a TTL value on the entire table while creating it.
CREATE TABLE test ( k text PRIMARY KEY, v int, ) WITH default_time_to_live = 63113904;
Above example will create a table whose rows will disappear after 2 years.