Package com.arangodb.model
Class TtlIndexOptions
- java.lang.Object
-
- com.arangodb.model.IndexOptions<TtlIndexOptions>
-
- com.arangodb.model.TtlIndexOptions
-
public final class TtlIndexOptions extends IndexOptions<TtlIndexOptions>
- Author:
- Heiko Kernbach
- See Also:
- API Documentation
-
-
Constructor Summary
Constructors Constructor Description TtlIndexOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TtlIndexOptionsexpireAfter(Integer expireAfter)IntegergetExpireAfter()Iterable<String>getFields()IndexTypegetType()-
Methods inherited from class com.arangodb.model.IndexOptions
getInBackground, getName, inBackground, name
-
-
-
-
Method Detail
-
getType
public IndexType getType()
-
expireAfter
public TtlIndexOptions expireAfter(Integer expireAfter)
- Parameters:
expireAfter- The time (in seconds) after a document’s creation after which the documents count as “expired”.- Returns:
- options
-
getExpireAfter
public Integer getExpireAfter()
-
-