Class GeoDistanceFilter

    • Constructor Detail

      • GeoDistanceFilter

        public GeoDistanceFilter​(DocumentTypeField field,
                                 GeoPoint pin,
                                 Distance distance)
        Creates a new instance.
        Parameters:
        field - the field.
        pin - the point from which the distance will be calculated.
        distance - the maximum distance.
        Since:
        9.0.0
    • Method Detail

      • getField

        public DocumentTypeField getField()
        Returns the field.
        Returns:
        the field
        Since:
        9.0.0
      • getPin

        public GeoPoint getPin()
        Returns the pin.
        Returns:
        the pin
        Since:
        9.0.0
      • getDistance

        public Distance getDistance()
        Returns the distance.
        Returns:
        the distance
        Since:
        9.0.0