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 proximity
|
static BooleanExpression |
nearSphere(Expression<Double[]> expr,
double latVal,
double longVal)
Finds the closest points relative to the given location on a sphere and orders the results with decreasing proximity
|
public static BooleanExpression near(Expression<Double[]> expr, double latVal, double longVal)
expr
- locationlatVal
- latitudelongVal
- longitudepublic static BooleanExpression nearSphere(Expression<Double[]> expr, double latVal, double longVal)
expr
- locationlatVal
- latitudelongVal
- longitudeCopyright © 2007–2016 Querydsl. All rights reserved.