Package com.querydsl.mongodb
Class Point
java.lang.Object
- All Implemented Interfaces:
ArrayExpression<Double[],,Double> Expression<Double[]>,Path<Double[]>,Serializable
Point is an adapter type for Double[] arrays to use geo spatial querying features of Mongodb- Author:
- tiwe
- See Also:
-
Field Summary
Fields inherited from class com.querydsl.core.types.dsl.DslExpression
hashCode, mixin -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnear(double latVal, double longVal) Finds the closest points relative to the given location and orders the results with decreasing proximityMethods inherited from class com.querydsl.core.types.dsl.ArrayPath
accept, get, get, getAnnotatedElement, getElementType, getMetadata, getRoot, sizeMethods inherited from class com.querydsl.core.types.dsl.SimpleExpression
as, as, count, countDistinct, eq, eq, eqAll, eqAll, eqAny, eqAny, in, in, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, notIn, notIn, nullif, nullif, when, whenMethods inherited from class com.querydsl.core.types.dsl.DslExpression
equals, getType, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.querydsl.core.types.Expression
getType
-
Constructor Details
-
Point
-
Point
-
Point
-
-
Method Details
-
near
Finds the closest points relative to the given location and orders the results with decreasing proximity- Parameters:
latVal- latitudelongVal- longitude- Returns:
- predicate
-