Box. This class is scheduled to be
removed in the next major release.@Deprecated public class Box extends org.springframework.data.geo.Box implements Shape
| Constructor and Description |
|---|
Box(double[] lowerLeft,
double[] upperRight)
Deprecated.
|
Box(org.springframework.data.geo.Point lowerLeft,
org.springframework.data.geo.Point upperRight)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends Object> |
asList()
Deprecated.
|
String |
getCommand()
Deprecated.
Returns the command to be used to create the $within criterion.
|
Point |
getLowerLeft()
Deprecated.
|
Point |
getUpperRight()
Deprecated.
|
public static final String COMMAND
public Box(org.springframework.data.geo.Point lowerLeft,
org.springframework.data.geo.Point upperRight)
public Box(double[] lowerLeft,
double[] upperRight)
public List<? extends Object> asList()
ShapeShape as a list of usually Double or Lists of Doubles. Wildcard bound
to allow implementations to return a more concrete element type.public Point getLowerLeft()
public Point getUpperRight()
Copyright © 2021. All rights reserved.