Annotation Interface PersistentIndex
@Repeatable(PersistentIndexes.class)
@Retention(RUNTIME)
@Target(TYPE)
public @interface PersistentIndex
Annotation to define given fields to be indexed using ArangoDB's Persistent
index.
- Author:
- Mark Vollmary
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
If true, then set deduplicate to indexboolean
If true, then create a sparse indexboolean
If true, then create a unique index
-
Element Details
-
fields
String[] fieldsA list of attribute paths
-
-
-
unique
boolean uniqueIf true, then create a unique index- Default:
- false
-
sparse
boolean sparseIf true, then create a sparse index- Default:
- false
-
deduplicate
boolean deduplicateIf true, then set deduplicate to index- Default:
- true
-