|
Spring Data MongoDB - Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.geo.Polygon
org.springframework.data.mongodb.core.geo.Polygon
Point. This class is scheduled to be
removed in the next major release.
@Deprecated public class Polygon
Simple value object to represent a Polygon.
| Field Summary | |
|---|---|
static String |
COMMAND
Deprecated. |
| Constructor Summary | |
|---|---|
Polygon(List<P> points)
Deprecated. Creates a new Polygon for the given Points. |
|
Polygon(P x,
P y,
P z,
P... others)
Deprecated. Creates a new Polygon for the given Points. |
|
| Method Summary | |
|---|---|
List<? extends Object> |
asList()
Deprecated. Returns the Shape as a list of usually Double or Lists of Doubles. |
static List<? extends Object> |
asList(Polygon polygon)
Deprecated. Returns a List of x,y-coordinate tuples of Points from the given Polygon. |
String |
getCommand()
Deprecated. Returns the command to be used to create the $within criterion. |
| Methods inherited from class org.springframework.data.geo.Polygon |
|---|
equals, getPoints, hashCode, iterator, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String COMMAND
| Constructor Detail |
|---|
public Polygon(P x,
P y,
P z,
P... others)
Polygon for the given Points.
x - y - z - others - public Polygon(List<P> points)
Polygon for the given Points.
points - | Method Detail |
|---|
public String getCommand()
Shape
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 static List<? extends Object> asList(Polygon polygon)
List of x,y-coordinate tuples of Points from the given Polygon.
polygon -
|
Spring Data MongoDB - Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||