|
Spring Data Document | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=FIELD) @Retention(value=RUNTIME) public @interface GeoSpatialIndexed
Mark a field to be indexed using MongoDB's geospatial indexing feature.
Optional Element Summary | |
---|---|
int |
bits
Bits of precision for boundary calculations. |
String |
collection
Name of the collection in which to create the index. |
int |
max
Maximum value for indexed values. |
int |
min
Minimum value for indexed values. |
String |
name
Name of the property in the document that contains the [x, y] or radial coordinates to index. |
public abstract String name
public abstract String collection
public abstract int min
public abstract int max
public abstract int bits
|
Spring Data Document | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |