All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yandex.ydb.table.settings.TtlSettings Maven / Gradle / Ivy

There is a newer version: 1.45.6
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy