@java.lang.SuppressWarnings("rawtypes")
public class MongoCriteriaBuilder
extends CriteriaBuilder
Extends the default CriteriaBuilder implementation with Geolocation methods
| Constructor and description |
|---|
MongoCriteriaBuilder(java.lang.Class<?> targetClass, Session session, Query query) |
MongoCriteriaBuilder(java.lang.Class<?> targetClass, Session session) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Criteria |
arguments(java.util.Map arguments) |
|
public Criteria |
geoIntersects(java.lang.String property, GeoJSON shape)Geospacial query for the given shape returning records that are found to intersect the given shape |
|
public Criteria |
geoWithin(java.lang.String property, Shape shape)Geospacial query for the given shape returning records that are found within the given shape |
|
public Criteria |
near(java.lang.String property, java.util.List<?> value)Geospacial query for values near the given two dimensional list |
|
public Criteria |
near(java.lang.String property, java.util.List<?> value, java.lang.Number maxDistance)Geospacial query for values near the given two dimensional list |
|
public Criteria |
near(java.lang.String property, java.util.List<?> value, Distance maxDistance)Geospacial query for values near the given two dimensional list |
|
public Criteria |
near(java.lang.String property, Point value)Geospacial query for values near the given two dimensional list |
|
public Criteria |
near(java.lang.String property, Point value, java.lang.Number maxDistance)Geospacial query for values near the given two dimensional list |
|
public Criteria |
near(java.lang.String property, Point value, Distance maxDistance)Geospacial query for values near the given two dimensional list |
|
public Criteria |
nearSphere(java.lang.String property, java.util.List<?> value)Geospacial query for values near the given two dimensional list |
|
public Criteria |
nearSphere(java.lang.String property, java.util.List<?> value, java.lang.Number maxDistance)Geospacial query for values near the given two dimensional list |
|
public Criteria |
nearSphere(java.lang.String property, java.util.List<?> value, Distance maxDistance)Geospacial query for values near the given two dimensional list |
|
public Criteria |
nearSphere(java.lang.String property, Point value)Geospacial query for values near the given two dimensional list |
|
public Criteria |
nearSphere(java.lang.String property, Point value, java.lang.Number maxDistance)Geospacial query for values near the given two dimensional list |
|
public Criteria |
nearSphere(java.lang.String property, Point value, Distance maxDistance)Geospacial query for values near the given two dimensional list |
|
public Criteria |
withinBox(java.lang.String property, java.util.List<?> value)Geospacial query for values within a given box. |
|
public Criteria |
withinCircle(java.lang.String property, java.util.List<?> value)Geospacial query for values within a given circle. |
|
public Criteria |
withinPolygon(java.lang.String property, java.util.List<?> value)Geospacial query for values within a given polygon. |
Geospacial query for the given shape returning records that are found to intersect the given shape
property - The propertyshape - The shapeGeospacial query for the given shape returning records that are found within the given shape
property - The propertyshape - The shapeGeospacial query for values near the given two dimensional list
property - The propertyvalue - A two dimensional list of valuesGeospacial query for values near the given two dimensional list
property - The propertyvalue - A two dimensional list of valuesGeospacial query for values near the given two dimensional list
property - The propertyvalue - A two dimensional list of valuesGeospacial query for values near the given two dimensional list
property - The propertyvalue - A two dimensional list of valuesGeospacial query for values near the given two dimensional list
property - The propertyvalue - A two dimensional list of valuesGeospacial query for values near the given two dimensional list
property - The propertyvalue - A two dimensional list of valuesGeospacial query for values near the given two dimensional list
property - The propertyvalue - A two dimensional list of valuesGeospacial query for values near the given two dimensional list
property - The propertyvalue - A two dimensional list of valuesGeospacial query for values near the given two dimensional list
property - The propertyvalue - A two dimensional list of valuesGeospacial query for values near the given two dimensional list
property - The propertyvalue - A two dimensional list of valuesGeospacial query for values near the given two dimensional list
property - The propertyvalue - A two dimensional list of valuesGeospacial query for values near the given two dimensional list
property - The propertyvalue - A two dimensional list of valuesGeospacial query for values within a given box. A box is defined as a multi-dimensional list in the form [[40.73083, -73.99756], [40.741404, -73.988135]]
property - The propertyvalue - A multi-dimensional list of valuesGeospacial query for values within a given circle. A circle is defined as a multi-dimensial list containing the position of the center and the radius: [[50, 50], 10]
property - The propertyvalue - A multi-dimensional list of valuesGeospacial query for values within a given polygon. A polygon is defined as a multi-dimensional list in the form [[0, 0], [3, 6], [6, 0]]
property - The propertyvalue - A multi-dimensional list of values