Spring Data MongoDB - Core

org.springframework.data.mongodb.core.query
Class GeoCommand

java.lang.Object
  extended by 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

Constructor Summary
GeoCommand(Shape shape)
          Creates a new GeoCommand.
 
Method Summary
 String getCommand()
           
 Shape getShape()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoCommand

public GeoCommand(Shape shape)
Creates a new GeoCommand.

Parameters:
shape - must not be null.
Method Detail

getShape

public Shape getShape()
Returns:
the shape

getCommand

public String getCommand()
Returns:
the command

Spring Data MongoDB - Core

Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.