public final class MongodbExpressions extends Object
Modifier and Type | Method and Description |
---|---|
static BooleanExpression |
near(Expression<Double[]> expr,
double latVal,
double longVal)
Finds the closest points relative to the given location and orders the results with decreasing promimity
|
public static BooleanExpression near(Expression<Double[]> expr, double latVal, double longVal)
expr
- latVal
- latitudelongVal
- longitudeCopyright © 2007–2015 Mysema Ltd. All rights reserved.