Spring Data MongoDB - Core

org.springframework.data.mongodb.core.geo
Class Box

java.lang.Object
  extended by org.springframework.data.geo.Box
      extended by org.springframework.data.mongodb.core.geo.Box
All Implemented Interfaces:
Serializable, Shape

Deprecated. As of release 1.5, replaced by Box. This class is scheduled to be removed in the next major release.

@Deprecated
public class Box
extends Box
implements Shape

Represents a geospatial box value.

Author:
Mark Pollack, Oliver Gierke, Thomas Darimont
See Also:
Serialized Form

Field Summary
static String COMMAND
          Deprecated.  
 
Constructor Summary
Box(double[] lowerLeft, double[] upperRight)
          Deprecated.  
Box(Point lowerLeft, Point upperRight)
          Deprecated.  
 
Method Summary
 List<? extends Object> asList()
          Deprecated. Returns the Shape as a list of usually Double or Lists of Doubles.
 String getCommand()
          Deprecated. Returns the command to be used to create the $within criterion.
 Point getLowerLeft()
          Deprecated.  
 Point getUpperRight()
          Deprecated.  
 
Methods inherited from class org.springframework.data.geo.Box
equals, getFirst, getSecond, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COMMAND

public static final String COMMAND
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

Box

public Box(Point lowerLeft,
           Point upperRight)
Deprecated. 

Box

public Box(double[] lowerLeft,
           double[] upperRight)
Deprecated. 
Method Detail

asList

public List<? extends Object> asList()
Deprecated. 
Description copied from interface: Shape
Returns the Shape as a list of usually Double or Lists of Doubles. Wildcard bound to allow implementations to return a more concrete element type.

Returns:

getLowerLeft

public Point getLowerLeft()
Deprecated. 

getUpperRight

public Point getUpperRight()
Deprecated. 

getCommand

public String getCommand()
Deprecated. 
Description copied from interface: Shape
Returns the command to be used to create the $within criterion.

Returns:

Spring Data MongoDB - Core

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