public interface SortDistanceNoFieldContext
| Modifier and Type | Method and Description |
|---|---|
SortDistanceFieldContext |
onField(String fieldName)
Order elements by distance computed from the coordinates carried by the given field.
|
SortDistanceFieldContext onField(String fieldName)
The distance is computed between the value of the given field (which must be
a Spatial field) and reference coordinates, to be provided in the
next context.
fieldName - The name of the index field carrying the spatial coordinates.Copyright © 2006–2017 Hibernate. All rights reserved.