Annotation Interface Indexed


Specified on fields that should be Indexed.
Author:
Scott Hernandez
  • Element Details

    • options

      IndexOptions options
      Returns:
      Options to apply to the index. Use of this field will ignore any of the deprecated options defined on Index directly.
      Default:
      @dev.morphia.annotations.IndexOptions
    • value

      Returns:
      the type of the index (ascending, descending, geo2d); default is ascending
      See Also:
      Default:
      ASC