Class Point

All Implemented Interfaces:
ArrayExpression<Double[],Double>, Expression<Double[]>, Path<Double[]>, Serializable

public class Point extends ArrayPath<Double[],Double>
Point is an adapter type for Double[] arrays to use geo spatial querying features of Mongodb
Author:
tiwe
See Also:
  • Constructor Details

  • Method Details

    • near

      public BooleanExpression near(double latVal, double longVal)
      Finds the closest points relative to the given location and orders the results with decreasing proximity
      Parameters:
      latVal - latitude
      longVal - longitude
      Returns:
      predicate