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