Annotation Interface N1qlSecondaryIndexed


@Target(TYPE) @Retention(RUNTIME) @Deprecated public @interface N1qlSecondaryIndexed
Deprecated.
This annotation is targeted at Repository interfaces, indicating that the framework should ensure a N1QL Secondary Index is present when the repository is instantiated.

Said index will relate to the "type" field (the one bearing type information) and restrict on documents that match the repository's entity class.

Be sure to also use N1qlPrimaryIndexed to make sure the PRIMARY INDEX is there as well.

Author:
Simon Baslé
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Deprecated.
    the name of the index to be created, in the repository's associated bucket namespace.
  • Element Details

    • indexName

      String indexName
      Deprecated.
      the name of the index to be created, in the repository's associated bucket namespace.