com.yandex.ydb.table.settings.TtlSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ydb-sdk-jdbc-uberjar Show documentation
Show all versions of ydb-sdk-jdbc-uberjar Show documentation
JDBC client implementation over Table client, single jar
package com.yandex.ydb.table.settings;
import javax.annotation.Nonnull;
public final class TtlSettings {
private final String dateTimeColumn;
private final int expireAfterSeconds;
public TtlSettings(@Nonnull String dateTimeColumn, int expireAfterSeconds) {
this.dateTimeColumn = dateTimeColumn;
this.expireAfterSeconds = expireAfterSeconds;
}
public String getDateTimeColumn() {
return dateTimeColumn;
}
public int getExpireAfterSeconds() {
return expireAfterSeconds;
}
}