Annotation Interface Hint


Annotation to declare index hints for repository query, update and aggregate operations. The index is specified by its name.
Since:
4.1
Author:
Christoph Strobl
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The name of the index to use.
    The name of the index to use.
  • Element Details

    • value

      String value
      The name of the index to use. In case of an aggregation the index is evaluated against the initial collection or view.
      Returns:
      the index name.
      Default:
      ""
    • indexName

      @AliasFor("value") String indexName
      The name of the index to use. In case of an aggregation the index is evaluated against the initial collection or view.
      Returns:
      the index name.
      Default:
      ""