Annotation Interface Indexed


@Documented @Target(TYPE) @Retention(RUNTIME) @TypeMapping(processor=@TypeMappingAnnotationProcessorRef(type=IndexedProcessor.class,retrieval=CONSTRUCTOR)) public @interface Indexed
Maps an entity type to an index.

Simplified version for Infinispan of Indexed

Since:
14.0
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
     
  • Element Details

    • index

      String index
      Returns:
      The name of the index. Defaults to the entity name.
      Default:
      ""
    • enabled

      boolean enabled
      Returns:
      true to map the type to an index (the default), false to disable the mapping to an index. Useful to disable indexing when subclassing an indexed type.
      Default:
      true