Annotation Interface MDPrefixedIndex
@Repeatable(MDPrefixedIndexes.class)
@Retention(RUNTIME)
@Target(TYPE)
public @interface MDPrefixedIndex
Annotation to define given fields to be indexed using ArangoDB's Multi-Dimensional Prefixed index.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptioncom.arangodb.model.MDIFieldValueTypes
must beMDIFieldValueTypes.DOUBLE
, currently only doubles are supported as valuesboolean
If true, then create a sparse indexboolean
If true, then create a unique index
-
Element Details
-
-
unique
boolean uniqueIf true, then create a unique index- Default:
- false
-
fieldValueTypes
com.arangodb.model.MDIFieldValueTypes fieldValueTypesmust beMDIFieldValueTypes.DOUBLE
, currently only doubles are supported as values- Default:
- DOUBLE
-
sparse
boolean sparseIf true, then create a sparse index- Default:
- false
-