Skip to content

Add support for geospatial AOT-generated query methods #5004

Closed
@christophstrobl

Description

@christophstrobl

Add support for ahead of time code generation for query methods (near & within) operating upon geospatial data (may require special geo index to be present).

List<Entity> findByLocationNear(Point point);

List<Entity> findByLocationNear(Point point, Distance maxDistance);

List<Entity> findByLocationWithin(Circle circle);

List<Entity> findByLocationWithin(Box box);

List<Entity> findByLocationWithin(Polygon polygon);

GeoResults<Entity> findByLocationNear(Point point, Distance maxDistance);

GeoResults<Entity> findByLocationNearAndLastname(Point point, Distance maxDistance, String Lastname);

GeoResults<Entity> findPersonByLocationNear(Point point, Range<Distance> distance);

GeoPage<Entity> findByLocationNear(Point point, Distance maxDistance, Pageable pageable);

Metadata

Metadata

Labels

theme: aotAn issue related to Ahead-Of-Time processingtype: enhancementA general enhancement

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions