org.springframework.data.mongodb.core.query
Class GeoCommand
java.lang.Object
org.springframework.data.mongodb.core.query.GeoCommand
public class GeoCommand
- extends Object
Wrapper around a Shape to allow appropriate query rendering.
- Since:
- 1.5
- Author:
- Thomas Darimont
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoCommand
public GeoCommand(org.springframework.data.geo.Shape shape)
- Creates a new
GeoCommand.
- Parameters:
shape - must not be null.
getShape
public org.springframework.data.geo.Shape getShape()
- Returns:
- the shape
getCommand
public String getCommand()
- Returns:
- the command
Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.