| Modifier and Type | Method and Description |
|---|---|
StandardIndexFieldTypeOptionsStep<?,GeoPoint> |
IndexFieldTypeFactory.asGeoPoint()
Define a field type whose values are represented as a
GeoPoint in Hibernate Search. |
| Modifier and Type | Method and Description |
|---|---|
static GeoPoint |
ParseUtils.parseGeoPoint(String value) |
| Modifier and Type | Method and Description |
|---|---|
default N |
SpatialWithinPredicateAreaStep.circle(GeoPoint center,
double radiusInMeters)
Require at least one of the targeted fields to point to a location within the given circle,
i.e.
|
N |
SpatialWithinPredicateAreaStep.circle(GeoPoint center,
double radius,
DistanceUnit unit)
Require at least one of the targeted fields to point to a location within the given circle,
i.e.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpatialWithinCirclePredicateBuilder.circle(GeoPoint center,
double radius,
DistanceUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
DistanceToFieldProjectionOptionsStep<?> |
SearchProjectionFactory.distance(String absoluteFieldPath,
GeoPoint center)
Project on the distance from the center to a
GeoPoint field. |
| Modifier and Type | Method and Description |
|---|---|
DistanceToFieldProjectionOptionsStep<?> |
DelegatingSearchProjectionFactory.distance(String absoluteFieldPath,
GeoPoint center) |
| Modifier and Type | Method and Description |
|---|---|
DistanceToFieldProjectionBuilder |
SearchProjectionBuilderFactory.distance(String absoluteFieldPath,
GeoPoint center) |
| Modifier and Type | Method and Description |
|---|---|
DistanceSortOptionsStep<?,PDF> |
ExtendedSearchSortFactory.distance(String absoluteFieldPath,
GeoPoint location) |
DistanceSortOptionsStep<?,? extends SearchPredicateFactory> |
SearchSortFactory.distance(String absoluteFieldPath,
GeoPoint location)
Order elements by the distance from the location stored in the specified field to the location specified.
|
| Modifier and Type | Method and Description |
|---|---|
DistanceSortOptionsStep<?,PDF> |
DelegatingSearchSortFactory.distance(String absoluteFieldPath,
GeoPoint location) |
| Modifier and Type | Method and Description |
|---|---|
DistanceSortBuilder<B> |
SearchSortBuilderFactory.distance(String absoluteFieldPath,
GeoPoint location) |
| Modifier and Type | Method and Description |
|---|---|
GeoPoint |
GeoBoundingBox.bottomRight() |
default GeoPoint |
GeoBoundingBox.getBottomRight()
Deprecated.
Use
GeoBoundingBox.bottomRight() instead. |
default GeoPoint |
GeoBoundingBox.getTopLeft()
Deprecated.
Use
GeoBoundingBox.topLeft() instead. |
static GeoPoint |
GeoPoint.of(double latitude,
double longitude)
Create a
GeoPoint from a latitude and a longitude. |
GeoPoint |
GeoBoundingBox.topLeft() |
| Modifier and Type | Method and Description |
|---|---|
default List<GeoPoint> |
GeoPolygon.getPoints()
Deprecated.
Use
GeoPolygon.points() instead. |
List<GeoPoint> |
GeoPolygon.points() |
| Modifier and Type | Method and Description |
|---|---|
static GeoBoundingBox |
GeoBoundingBox.of(GeoPoint topLeft,
GeoPoint bottomRight)
Create a
GeoBoundingBox from the top-left and bottom-right corners. |
static GeoPolygon |
GeoPolygon.of(GeoPoint firstPoint,
GeoPoint secondPoint,
GeoPoint thirdPoint,
GeoPoint fourthPoint,
GeoPoint... additionalPoints)
Create a
GeoPolygon from points. |
static GeoPolygon |
GeoPolygon.of(GeoPoint firstPoint,
GeoPoint secondPoint,
GeoPoint thirdPoint,
GeoPoint fourthPoint,
GeoPoint... additionalPoints)
Create a
GeoPolygon from points. |
| Modifier and Type | Method and Description |
|---|---|
static GeoPolygon |
GeoPolygon.of(List<GeoPoint> points)
Create a
GeoPolygon from a list of points. |
Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.