org.springframework.data.document.mongodb.query
Class GeospatialIndex
java.lang.Object
org.springframework.data.document.mongodb.query.GeospatialIndex
- All Implemented Interfaces:
- IndexDefinition
public class GeospatialIndex
- extends Object
- implements IndexDefinition
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeospatialIndex
public GeospatialIndex()
GeospatialIndex
public GeospatialIndex(String key)
named
public GeospatialIndex named(String name)
withMin
public GeospatialIndex withMin(int min)
withMax
public GeospatialIndex withMax(int max)
getIndexObject
public DBObject getIndexObject()
- Specified by:
getIndexObject
in interface IndexDefinition
getIndexOptions
public DBObject getIndexOptions()
- Specified by:
getIndexOptions
in interface IndexDefinition
Copyright © 2011. All Rights Reserved.