Annotation Interface MongoGeoIndexed


Declares a simple MongoDB geospatial index for a property.
Since:
5.0.0
Author:
radovanradic
  • Element Details

    • name

      String name
      Returns:
      The index name.
      Default:
      ""
    • type

      Returns:
      The geospatial index kind.
      Default:
      GEO_2DSPHERE
    • hidden

      boolean hidden
      Returns:
      Whether the index is hidden.
      Default:
      false
    • comment

      String comment
      Returns:
      The index creation command comment.
      Default:
      ""
    • storageEngine

      String storageEngine
      Returns:
      The storage engine options as JSON.
      Default:
      ""
    • sphereVersion

      int sphereVersion
      Returns:
      The 2dsphere index version, or -1 if unset.
      Default:
      -1
    • bits

      int bits
      Returns:
      The 2d index bits setting, or -1 if unset.
      Default:
      -1
    • min

      double min
      Returns:
      The 2d index minimum value, or NaN if unset.
      Default:
      0.0/0.0
    • max

      double max
      Returns:
      The 2d index maximum value, or NaN if unset.
      Default:
      0.0/0.0