Interface SpatialContext

All Superinterfaces:
QueryCustomization<SpatialContext>, SpatialMatchingContext

@Deprecated public interface SpatialContext extends QueryCustomization<SpatialContext>, SpatialMatchingContext
Deprecated.
See the deprecation note on QueryBuilder.
Author:
Emmanuel Bernard
  • Method Details

    • onField

      SpatialMatchingContext onField(String fieldName)
      Deprecated.
      Used to select the spatial field/coordinates used for this query. If not specified, the default field (Spatial.COORDINATES_DEFAULT_FIELD) is used.

      Note: An entity can have multiple Spatial annotations defining different sets of coordinates. Each non-default Spatial instance has a name to identify it. Use this method to specify the targeted coordinate field.

      Parameters:
      fieldName - The name of the set of coordinates to target for the query
      Returns:
      SpatialMatchingContext instance for continuation