| Package | Description |
|---|---|
| org.mongodb.morphia.geo | |
| org.mongodb.morphia.query |
| Modifier and Type | Method and Description |
|---|---|
Point |
PointBuilder.build()
Creates an immutable point
|
static Point |
GeoJson.point(double latitude,
double longitude)
Create a new Point representing a GeoJSON point
type.
|
| Modifier and Type | Method and Description |
|---|---|
List<Point> |
LineString.getCoordinates() |
List<Point> |
MultiPoint.getCoordinates() |
| Modifier and Type | Method and Description |
|---|---|
static LineString |
GeoJson.lineString(Point... points)
Create a new LineString representing a GeoJSON
LineString type.
|
static MultiPoint |
GeoJson.multiPoint(Point... points)
Create a new MultiPoint representing a GeoJSON
MultiPoint type.
|
static Polygon |
GeoJson.polygon(Point... points)
Create a new Polygon representing a GeoJSON
Polygon type.
|
| Modifier and Type | Method and Description |
|---|---|
T |
FieldEnd.near(Point point)
This runs a $near query to check for documents geographically close to the given Point - this Point represents a GeoJSON point type.
|
T |
FieldEndImpl.near(Point point) |
T |
FieldEnd.near(Point point,
int maxDistance)
This runs a $near query to check for documents geographically close to the given Point - this Point represents a GeoJSON point type.
|
T |
FieldEndImpl.near(Point point,
int maxDistance) |
Copyright © 2021. All rights reserved.