| Package | Description |
|---|---|
| tech.ydb.table.description | |
| tech.ydb.table.settings |
| Modifier and Type | Method and Description |
|---|---|
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.
|
TableTtl |
TableDescription.getTableTtl() |
static TableTtl |
TableTtl.notSet()
Construct an empty TTL configuration
|
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.
|
TableTtl |
TableTtl.withRunIntervalSeconds(int seconds) |
| Modifier and Type | Method and Description |
|---|---|
TableDescription.Builder |
TableDescription.Builder.setTtlSettings(TableTtl ttl) |
| Modifier and Type | Method and Description |
|---|---|
TableTtl |
AlterTableSettings.getTableTTL() |
| Modifier and Type | Method and Description |
|---|---|
AlterTableSettings |
AlterTableSettings.setTableTtl(TableTtl ttl) |
Copyright © 2024. All rights reserved.