Annotation Interface MongoGeoIndexed
@Retention(RUNTIME)
@Target({FIELD,METHOD,ANNOTATION_TYPE})
@Documented
@Inherited
public @interface MongoGeoIndexed
Declares a simple MongoDB geospatial index for a property.
- Since:
- 5.0.0
- Author:
- radovanradic
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintbooleandoubledoubleint
-
Element Details
-
name
-
type
-
comment
-
storageEngine
-
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
-