Reputation: 141
I have tried to find out the document about cassandra thrift Api. But i did't get any reference document.
particularly i want know about org.apache.cassandra.thrift.Column.setTtl(int ttl) Api. here argument ttl refers to seconds or minutes or any other value ?
Please provided the reference link and so that it will be helpful for everyone.
Thnx
Upvotes: 0
Views: 72
Reputation: 1462
It is in seconds. See this link for a blog post about the deprecated thrift api.
And from the specification, ttl, i32, "an optional, positive delay (in seconds) after which the Column will be automatically deleted".
Upvotes: 1
Reputation: 3374
Here is Thrift API specification - http://wiki.apache.org/cassandra/API10
Upvotes: 0