javacassandrahector

how set time-to-live for column in Cassandra with Hector?


how set time-to-live for column in Cassandra 1.1.6 with Hector? i tried find any method for this problem but nothing founded


Solution

  • Use can use setTtl method of HColumn in hector

    column.setTtl(ttl);