|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpatialContext
Method Summary | |
---|---|
SpatialMatchingContext |
onCoordinates(String field)
An entity can have multiple Spatial annotations defining
different sets of coordinates. |
SpatialMatchingContext |
onDefaultCoordinates()
Used to create Spatial Queries on the default coordinates of an entity. |
Methods inherited from interface org.hibernate.search.query.dsl.QueryCustomization |
---|
boostedTo, filteredBy, withConstantScore |
Method Detail |
---|
SpatialMatchingContext onDefaultCoordinates()
Spatial
is being used
without defining a custom value for Spatial.name()
.
SpatialMatchingContext onCoordinates(String field)
Spatial
annotations defining
different sets of coordinates.
Each non-default Spatial instance has a name to identify it,
use this method to pick one of these non-default coordinate fields.
field
- The name of the set of coordinates to target for the query
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |