Annotation Interface TtlIndex
Annotation to define given field to be indexed using ArangoDB's TTL index.
- Author:
- Michele Rastelli
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionint
The time interval (in seconds) from the point in time of the value of the field specified in {@link this#field()} after which the documents count as expired.
-
Element Details
-
field
String fieldattribute path
-
-
-
expireAfter
int expireAfterThe time interval (in seconds) from the point in time of the value of the field specified in {@link this#field()} after which the documents count as expired. Default is 0, which means that the documents expire as soon as the server time passes the point in time stored in the document attribute.- Default:
- 0
-