0

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

Ramesh Kasi
  • 131
  • 2
  • 9

2 Answers2

1

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".

John
  • 1,462
  • 10
  • 17
0

Here is Thrift API specification - http://wiki.apache.org/cassandra/API10

Mikhail Stepura
  • 3,374
  • 20
  • 16