static TableTtl |
TableTtl.dateTimeColumn(String columnName,
int expireAfterSeconds)
The row will be considered as expired at the moment of time, when the value stored in columnName is less
than or equal to the current time (in epoch time format), and expireAfterSeconds has passed since that
moment; i.e. the expiration threshold is the value of columnNameplus expireAfterSeconds.
|
static TableTtl |
TableTtl.valueSinceUnixEpoch(String columnName,
TableTtl.TtlUnit unit,
int expireAfterSeconds)
The row will be considered as expired at the moment of time, when the value stored in columnName is less
than or equal to the current time (in epoch time format), and expireAfterSeconds has passed since that
moment; i.e. the expiration threshold is the value of columnNameplus expireAfterSeconds.
|