Modifier and Type | Optional Element and Description |
---|---|
String |
additionalField
The name of the additional field to use for
GeoSpatialIndexType.GEO_HAYSTACK indexes |
int |
bits
Bits of precision for boundary calculations.
|
double |
bucketSize
The bucket size for
GeoSpatialIndexType.GEO_HAYSTACK indexes, in coordinate units. |
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.
|
GeoSpatialIndexType |
type
The type of the geospatial index.
|
boolean |
useGeneratedName
If set to true then MongoDB will ignore the given index name and instead generate a new name.
|
public abstract String name
public abstract boolean useGeneratedName
public abstract String collection
public abstract int min
public abstract int max
public abstract int bits
public abstract GeoSpatialIndexType type
GeoSpatialIndexType.GEO_2D
public abstract double bucketSize
GeoSpatialIndexType.GEO_HAYSTACK
indexes, in coordinate units.public abstract String additionalField
GeoSpatialIndexType.GEO_HAYSTACK
indexesCopyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.