T
- public interface FieldEnd<T>
Modifier and Type | Method and Description |
---|---|
T |
contains(String string) |
T |
containsIgnoreCase(String suffix) |
T |
doesNotExist() |
T |
endsWith(String suffix) |
T |
endsWithIgnoreCase(String suffix) |
T |
equal(Object val) |
T |
exists() |
T |
greaterThan(Object val) |
T |
greaterThanOrEq(Object val) |
T |
hasAllOf(Iterable<?> values) |
T |
hasAnyOf(Iterable<?> values) |
T |
hasNoneOf(Iterable<?> values) |
T |
hasThisElement(Object val) |
T |
hasThisOne(Object val) |
T |
in(Iterable<?> values) |
T |
intersects(Geometry geometry)
This performs a $geoIntersects query, searching documents containing any sort of GeoJson field and returning those where the given
geometry intersects with the document shape.
|
T |
intersects(Geometry geometry,
CoordinateReferenceSystem crs)
This performs a $geoIntersects query, searching documents containing any sort of GeoJson field and returning those where the given
geometry intersects with the document shape.
|
T |
lessThan(Object val) |
T |
lessThanOrEq(Object val) |
T |
mod(long divisor,
long remainder) |
T |
near(double x,
double y) |
T |
near(double x,
double y,
boolean spherical) |
T |
near(double x,
double y,
double radius) |
T |
near(double x,
double y,
double radius,
boolean spherical) |
T |
near(Point point)
This runs a $near query to check for documents geographically close to the given Point - this Point represents a GeoJSON point type.
|
T |
near(Point point,
int maxDistance)
This runs a $near query to check for documents geographically close to the given Point - this Point represents a GeoJSON point type.
|
FieldEnd<T> |
not() |
T |
notEqual(Object val) |
T |
notIn(Iterable<?> values) |
T |
sizeEq(int val) |
T |
startsWith(String prefix) |
T |
startsWithIgnoreCase(String prefix) |
T |
type(Type type) |
T |
within(MultiPolygon boundaries)
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundaries.
|
T |
within(MultiPolygon boundaries,
CoordinateReferenceSystem crs)
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundaries.
|
T |
within(Polygon boundary)
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundary.
|
T |
within(Polygon boundary,
CoordinateReferenceSystem crs)
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundary.
|
T |
within(Shape shape)
This implements the $geoWithin operator and is only compatible with mongo 2.4 or greater.
|
T doesNotExist()
T exists()
T intersects(Geometry geometry)
geometry
- the shape to use to query for any stored shapes that intersectgeometry
.T intersects(Geometry geometry, CoordinateReferenceSystem crs)
geometry
- the shape to use to query for any stored shapes that intersectcrs
- the coordinate reference system to use with the querygeometry
.T mod(long divisor, long remainder)
T near(double x, double y)
T near(double x, double y, boolean spherical)
T near(double x, double y, double radius)
T near(double x, double y, double radius, boolean spherical)
T near(Point point, int maxDistance)
point
- the point to find results close tomaxDistance
- the radius, in meters, to find the results insideT near(Point point)
point
- the point to find results close toT sizeEq(int val)
T within(Shape shape)
T within(Polygon boundary)
boundary
- a polygon describing the boundary to search within.T within(MultiPolygon boundaries)
boundaries
- a multi-polygon describing the areas to search within.T within(Polygon boundary, CoordinateReferenceSystem crs)
boundary
- a polygon describing the boundary to search within.T within(MultiPolygon boundaries, CoordinateReferenceSystem crs)
boundaries
- a multi-polygon describing the areas to search within.Copyright © 2016. All rights reserved.