Interface SpatialContext

    • Method Detail

      • 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