Annotation Interface Index


@Retention(RUNTIME) @Target(FIELD) public @interface Index
This annotation is kept as a marker interface and for API reasons. It currently does not get picked up by Neo4j-OGM in any form.
Author:
Mark Angrish, Gerrit Meier
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Indicates whether this indexed property should also get a unique constraint.
  • Element Details

    • unique

      boolean unique
      Indicates whether this indexed property should also get a unique constraint.
      Default:
      false