public final class TtlIndexOptions extends IndexOptions<TtlIndexOptions>
| Constructor and Description |
|---|
TtlIndexOptions() |
| Modifier and Type | Method and Description |
|---|---|
TtlIndexOptions |
expireAfter(Integer expireAfter) |
Integer |
getExpireAfter() |
Iterable<String> |
getFields() |
IndexType |
getType() |
getInBackground, getName, inBackground, namepublic IndexType getType()
public TtlIndexOptions expireAfter(Integer expireAfter)
expireAfter - The time (in seconds) after a document’s creation after which the documents count as
“expired”.public Integer getExpireAfter()
Copyright © 2016–2023 ArangoDB GmbH. All rights reserved.