org.keycloak.models.mongo.api

## Annotation Type MongoIndex

-     @Target(value=TYPE)
      @Documented
      @Retention(value=RUNTIME)
      @Inherited
      public @interface MongoIndex

  Author:
    Stian Thorgersen

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String[]` | `fields`

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `boolean` | `sparse`
    `boolean` | `unique`

- - ### Element Detail

    - #### fields

          public abstract String[] fields

    - #### unique

          public abstract boolean unique

      Default:
        false

    - #### sparse

          public abstract boolean sparse

      Default:
        false

Copyright © 2014. All Rights Reserved.