|
|||||||||
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. |
java.lang.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. |
java.lang.String |
name
Name of the property in the document that contains the [x, y] or radial coordinates to index. |
public abstract java.lang.String name
public abstract java.lang.String collection
public abstract int min
public abstract int max
public abstract int bits
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |