cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Hendry" <>
Subject RE: Column TTL
Date Wed, 06 Oct 2010 14:44:25 GMT
Ah, great, thanks. I was looking under trunk/src/java/... instead of




From: Michal August├Żn [] 
Sent: October-06-10 10:38
Subject: Re: Column TTL




I checked Cassandra.thrift file and found:


@param ttl. An optional, positive delay (in seconds) after which the column
will be automatically deleted. 



2010/10/6 Dan Hendry <>



I have a quick and  quite frankly ridiculous question regarding the column
TTL value; what are the time units? Milliseconds/seconds or something else?
I initially thought milliseconds given that it is Java and that is what
timestamps are in but the data type used in the setTll() Java thrift API is
int which indicates to me it is expecting seconds or at least not
milliseconds. The Thrift API wiki page mentions nothing about TTL and a
brief perusal of the source coded did not turn up anything useful (I am
probably just not looking in the right places). 


Any help would be appreciated. Thanks,


Dan Hendry


No virus found in this incoming message.
Checked by AVG -
Version: 9.0.862 / Virus Database: 271.1.1/3178 - Release Date: 10/06/10

View raw message