Class NearOperation
java.lang.Object
org.evomaster.client.java.controller.mongo.operations.QueryOperation
org.evomaster.client.java.controller.mongo.operations.QueryOperationWithField
org.evomaster.client.java.controller.mongo.operations.AbstractProximityOperation
org.evomaster.client.java.controller.mongo.operations.NearOperation
Represent $near operation.
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
-
Constructor Summary
ConstructorsConstructorDescriptionNearOperation(String fieldName, double longitude, double latitude, Double maxDistance, Double minDistance) NearOperation(String fieldName, double longitude, double latitude, Double maxDistance, Double minDistance, boolean legacyCoordinates) -
Method Summary
Methods inherited from class org.evomaster.client.java.controller.mongo.operations.AbstractProximityOperation
getLatitude, getLongitude, getMaxDistance, getMinDistance, hasMaxDistance, hasMinDistanceMethods inherited from class org.evomaster.client.java.controller.mongo.operations.QueryOperationWithField
getFieldName
-
Constructor Details
-
NearOperation
-
NearOperation
-
-
Method Details
-
hasLegacyCoordinates
public boolean hasLegacyCoordinates()
-