Package | Description |
---|---|
com.allanbank.mongodb.builder |
Provides domain classes and builders for queries and the common MongoDB commands.
|
Modifier and Type | Method and Description |
---|---|
ConditionBuilder |
ConditionBuilder.after(Date dateTime)
Checks if the value is greater than the specified dateTime.
|
ConditionBuilder |
ConditionBuilder.all(ArrayBuilder elements)
Specify the values that must all be in the fields array.
|
ConditionBuilder |
ConditionBuilder.all(boolean... values)
Specify the values that must all be in the fields array.
|
ConditionBuilder |
ConditionBuilder.all(byte[]... values)
Specify the values that must all be in the fields array.
|
ConditionBuilder |
ConditionBuilder.all(Constant... values)
Specify the values that must all be in the fields array.
|
ConditionBuilder |
ConditionBuilder.all(Date... values)
Specify the values that must all be in the fields array.
|
ConditionBuilder |
ConditionBuilder.all(DocumentAssignable... values)
Specify the values that must all be in the fields array.
|
ConditionBuilder |
ConditionBuilder.all(Double... values)
Specify the values that must all be in the fields array.
|
ConditionBuilder |
ConditionBuilder.all(Element... elements)
Specify the values that must all be in the fields array.
|
ConditionBuilder |
ConditionBuilder.all(Integer... values)
Specify the values that must all be in the fields array.
|
ConditionBuilder |
ConditionBuilder.all(Long... values)
Specify the values that must all be in the fields array.
|
ConditionBuilder |
ConditionBuilder.all(ObjectId... values)
Specify the values that must all be in the fields array.
|
ConditionBuilder |
ConditionBuilder.all(Pattern... values)
Specify the values that must all be in the fields array.
|
ConditionBuilder |
ConditionBuilder.all(String... values)
Specify the values that must all be in the fields array.
|
ConditionBuilder |
ConditionBuilder.all(UUID... values)
Specify the values that must all be in the fields array.
|
ConditionBuilder |
ConditionBuilder.and(String fieldName)
Starts a logical conjunction with this condition builder.
|
ConditionBuilder |
ConditionBuilder.before(Date dateTime)
Checks if the value is less than the specified dateTime.
|
ConditionBuilder |
ConditionBuilder.comment(String comment)
Adds a
$comment to the query. |
ConditionBuilder |
ConditionBuilder.elementMatches(DocumentAssignable arrayElementQuery)
Query to match a single element in the array field.
|
ConditionBuilder |
ConditionBuilder.equals(boolean value)
Checks if the value equals the specified value.
|
ConditionBuilder |
ConditionBuilder.equals(byte[] value)
Checks if the value equals the specified value.
|
ConditionBuilder |
ConditionBuilder.equals(byte subType,
byte[] value)
Checks if the value equals the specified value.
|
ConditionBuilder |
ConditionBuilder.equals(Date dateTime)
Checks if the value equals the specified dateTime.
|
ConditionBuilder |
ConditionBuilder.equals(DocumentAssignable value)
Checks if the value equals the specified value.
|
ConditionBuilder |
ConditionBuilder.equals(double value)
Checks if the value equals the specified value.
|
ConditionBuilder |
ConditionBuilder.equals(int value)
Checks if the value equals the specified value.
|
ConditionBuilder |
ConditionBuilder.equals(long value)
Checks if the value equals the specified value.
|
ConditionBuilder |
ConditionBuilder.equals(ObjectId value)
Checks if the value equals the specified value.
|
ConditionBuilder |
ConditionBuilder.equals(Pattern value)
Checks if the value equals the specified value.
|
ConditionBuilder |
ConditionBuilder.equals(String value)
Checks if the value equals the specified value.
|
ConditionBuilder |
ConditionBuilder.equals(UUID uuid)
Checks if the value equals the specified uuid using the standard
byte ordering.
|
ConditionBuilder |
ConditionBuilder.equalsJavaScript(String value)
Checks if the value equals the specified value.
|
ConditionBuilder |
ConditionBuilder.equalsJavaScript(String value,
DocumentAssignable scope)
Checks if the value equals the specified value.
|
ConditionBuilder |
ConditionBuilder.equalsLegacy(UUID uuid)
Checks if the value equals the specified value using the legacy
Java byte ordering.
|
ConditionBuilder |
ConditionBuilder.equalsMaxKey()
Checks if the value is a max key element.
|
ConditionBuilder |
ConditionBuilder.equalsMinKey()
Checks if the value is a min key element.
|
ConditionBuilder |
ConditionBuilder.equalsMongoTimestamp(long value)
Checks if the value equals the specified value.
|
ConditionBuilder |
ConditionBuilder.equalsNull()
Checks if the value is a null value.
|
ConditionBuilder |
ConditionBuilder.equalsSymbol(String value)
Checks if the value equals the specified value.
|
ConditionBuilder |
ConditionBuilder.equalsTimestamp(long value)
Checks if the value equals the specified value.
|
ConditionBuilder |
ConditionBuilder.exists()
Checks if the field exists (or not) in the document.
|
ConditionBuilder |
ConditionBuilder.exists(boolean value)
Checks if the field exists (or not) in the document.
|
ConditionBuilder |
ConditionBuilder.geoWithin(DocumentAssignable geoJsonDoc)
Geospatial query for documents whose field intersects the specified
GeoJSON specified geometry. |
ConditionBuilder |
ConditionBuilder.geoWithin(DocumentAssignable geoJsonDoc,
boolean unique)
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method
will not be removed until two releases after the MongoDB 2.6
release (e.g. 2.10 if the releases are 2.8 and 2.10). |
ConditionBuilder |
ConditionBuilder.greaterThan(byte[] value)
Checks if the value is greater than the specified value.
|
ConditionBuilder |
ConditionBuilder.greaterThan(byte subType,
byte[] value)
Checks if the value is greater than the specified value.
|
ConditionBuilder |
ConditionBuilder.greaterThan(Date dateTime)
Checks if the value is greater than the specified dateTime.
|
ConditionBuilder |
ConditionBuilder.greaterThan(double value)
Checks if the value is greater than the specified value.
|
ConditionBuilder |
ConditionBuilder.greaterThan(int value)
Checks if the value is greater than the specified value.
|
ConditionBuilder |
ConditionBuilder.greaterThan(long value)
Checks if the value is greater than the specified value.
|
ConditionBuilder |
ConditionBuilder.greaterThan(ObjectId value)
Checks if the value is greater than the specified value.
|
ConditionBuilder |
ConditionBuilder.greaterThan(String value)
Checks if the value is greater than the specified value.
|
ConditionBuilder |
ConditionBuilder.greaterThanMongoTimestamp(long value)
Checks if the value is greater than the specified value.
|
ConditionBuilder |
ConditionBuilder.greaterThanOrEqualTo(byte[] value)
Checks if the value is greater than or equals the specified
value.
|
ConditionBuilder |
ConditionBuilder.greaterThanOrEqualTo(byte subType,
byte[] value)
Checks if the value is greater than or equals the specified
value.
|
ConditionBuilder |
ConditionBuilder.greaterThanOrEqualTo(Date dateTime)
Checks if the value is greater than or equals the specified
dateTime.
|
ConditionBuilder |
ConditionBuilder.greaterThanOrEqualTo(double value)
Checks if the value is greater than or equals the specified
value.
|
ConditionBuilder |
ConditionBuilder.greaterThanOrEqualTo(int value)
Checks if the value is greater than or equals the specified
value.
|
ConditionBuilder |
ConditionBuilder.greaterThanOrEqualTo(long value)
Checks if the value is greater than or equals the specified
value.
|
ConditionBuilder |
ConditionBuilder.greaterThanOrEqualTo(ObjectId value)
Checks if the value is greater than or equals the specified
value.
|
ConditionBuilder |
ConditionBuilder.greaterThanOrEqualTo(String value)
Checks if the value is greater than or equals the specified
value.
|
ConditionBuilder |
ConditionBuilder.greaterThanOrEqualToMongoTimestamp(long value)
Checks if the value is greater than or equals the specified
value.
|
ConditionBuilder |
ConditionBuilder.greaterThanOrEqualToSymbol(String value)
Checks if the value is greater than or equals the specified
value.
|
ConditionBuilder |
ConditionBuilder.greaterThanOrEqualToTimestamp(long value)
Checks if the value is greater than or equals the specified
value.
|
ConditionBuilder |
ConditionBuilder.greaterThanSymbol(String value)
Checks if the value is greater than the specified value.
|
ConditionBuilder |
ConditionBuilder.greaterThanTimestamp(long value)
Checks if the value is greater than the specified value.
|
ConditionBuilder |
ConditionBuilder.in(ArrayBuilder elements)
Specify the possible values to match against the field's value.
|
ConditionBuilder |
ConditionBuilder.in(boolean... values)
Specify the possible values to match against the field's value.
|
ConditionBuilder |
ConditionBuilder.in(byte[]... values)
Specify the possible values to match against the field's value.
|
ConditionBuilder |
ConditionBuilder.in(Constant... values)
Specify the possible values to match against the field's value.
|
ConditionBuilder |
ConditionBuilder.in(Date... values)
Specify the possible values to match against the field's value.
|
ConditionBuilder |
ConditionBuilder.in(DocumentAssignable... values)
Specify the possible values to match against the field's value.
|
ConditionBuilder |
ConditionBuilder.in(Double... values)
Specify the possible values to match against the field's value.
|
ConditionBuilder |
ConditionBuilder.in(Element... elements)
Specify the possible values to match against the field's value.
|
ConditionBuilder |
ConditionBuilder.in(Integer... values)
Specify the possible values to match against the field's value.
|
ConditionBuilder |
ConditionBuilder.in(Long... values)
Specify the possible values to match against the field's value.
|
ConditionBuilder |
ConditionBuilder.in(ObjectId... values)
Specify the possible values to match against the field's value.
|
ConditionBuilder |
ConditionBuilder.in(Pattern... values)
Specify the possible values to match against the field's value.
|
ConditionBuilder |
ConditionBuilder.in(String... values)
Specify the possible values to match against the field's value.
|
ConditionBuilder |
ConditionBuilder.in(UUID... values)
Specify the possible values to match against the field's value.
|
ConditionBuilder |
ConditionBuilder.instanceOf(ElementType type)
Checks if the value's type matches the specified type.
|
ConditionBuilder |
ConditionBuilder.intersects(DocumentAssignable geoJsonDoc)
Geospatial query for documents whose field intersects the specified
GeoJSON specified geometry. |
ConditionBuilder |
ConditionBuilder.lessThan(byte[] value)
Checks if the value is less than the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThan(byte subType,
byte[] value)
Checks if the value is less than the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThan(Date dateTime)
Checks if the value is less than the specified dateTime.
|
ConditionBuilder |
ConditionBuilder.lessThan(double value)
Checks if the value is less than the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThan(int value)
Checks if the value is less than the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThan(long value)
Checks if the value is less than the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThan(ObjectId value)
Checks if the value is less than the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThan(String value)
Checks if the value is less than the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThanMongoTimestamp(long value)
Checks if the value is less than the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThanOrEqualTo(byte[] value)
Checks if the value is less than or equals the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThanOrEqualTo(byte subType,
byte[] value)
Checks if the value is less than or equals the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThanOrEqualTo(Date dateTime)
Checks if the value is less than or equals the specified
dateTime.
|
ConditionBuilder |
ConditionBuilder.lessThanOrEqualTo(double value)
Checks if the value is less than or equals the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThanOrEqualTo(int value)
Checks if the value is less than or equals the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThanOrEqualTo(long value)
Checks if the value is less than or equals the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThanOrEqualTo(ObjectId value)
Checks if the value is less than or equals the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThanOrEqualTo(String value)
Checks if the value is less than or equals the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThanOrEqualToMongoTimestamp(long value)
Checks if the value is less than or equals the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThanOrEqualToSymbol(String value)
Checks if the value is less than or equals the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThanOrEqualToTimestamp(long value)
Checks if the value is less than or equals the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThanSymbol(String value)
Checks if the value is less than the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThanTimestamp(long value)
Checks if the value is less than the specified value.
|
ConditionBuilder |
ConditionBuilder.matches(Pattern pattern)
Checks if the value matches the specified pattern.
|
ConditionBuilder |
ConditionBuilder.mod(int divisor,
int remainder)
Checks if the modulo of the documents value and divisor equals
the remainder.
|
ConditionBuilder |
ConditionBuilder.mod(long divisor,
long remainder)
Checks if the modulo of the documents value and divisor equals
the remainder.
|
ConditionBuilder |
ConditionBuilder.near(DocumentAssignable geoJsonDoc)
Geospatial query for documents whose field is near the specified
GeoJSON specified geometry. |
ConditionBuilder |
ConditionBuilder.near(DocumentAssignable geoJsonDoc,
double maxDistance)
Geospatial query for documents whose field is near the specified
GeoJSON specified geometry. |
ConditionBuilder |
ConditionBuilder.near(double x,
double y)
Geospatial query for documents whose field is near the specified [
x, y] coordinates.
|
ConditionBuilder |
ConditionBuilder.near(double x,
double y,
double maxDistance)
Geospatial query for documents whose field is near the specified [
x, y] coordinates.
|
ConditionBuilder |
ConditionBuilder.near(int x,
int y)
Geospatial query for documents whose field is near the specified [
x, y] coordinates.
|
ConditionBuilder |
ConditionBuilder.near(int x,
int y,
int maxDistance)
Geospatial query for documents whose field is near the specified [
x, y] coordinates.
|
ConditionBuilder |
ConditionBuilder.near(long x,
long y)
Geospatial query for documents whose field is near the specified [
x, y] coordinates.
|
ConditionBuilder |
ConditionBuilder.near(long x,
long y,
long maxDistance)
Geospatial query for documents whose field is near the specified [
x, y] coordinates.
|
ConditionBuilder |
ConditionBuilder.nearSphere(DocumentAssignable geoJsonDoc)
Geospatial query for documents whose field is near the specified
GeoJSON specified geometry on a sphere. |
ConditionBuilder |
ConditionBuilder.nearSphere(DocumentAssignable geoJsonDoc,
double maxDistance)
Geospatial query for documents whose field is near the specified
GeoJSON specified geometry on a sphere. |
ConditionBuilder |
ConditionBuilder.nearSphere(double x,
double y)
Geospatial query for documents whose field is near the specified [
x, y] coordinates on a sphere.
|
ConditionBuilder |
ConditionBuilder.nearSphere(double x,
double y,
double maxDistance)
Geospatial query for documents whose field is near the specified [
x, y] coordinates on a sphere.
|
ConditionBuilder |
ConditionBuilder.nearSphere(int x,
int y)
Geospatial query for documents whose field is near the specified [
x, y] coordinates on a sphere.
|
ConditionBuilder |
ConditionBuilder.nearSphere(int x,
int y,
int maxDistance)
Geospatial query for documents whose field is near the specified [
x, y] coordinates on a sphere.
|
ConditionBuilder |
ConditionBuilder.nearSphere(long x,
long y)
Geospatial query for documents whose field is near the specified [
x, y] coordinates on a sphere.
|
ConditionBuilder |
ConditionBuilder.nearSphere(long x,
long y,
long maxDistance)
Geospatial query for documents whose field is near the specified [
x, y] coordinates on a sphere.
|
ConditionBuilder |
ConditionBuilder.notEqualTo(boolean value)
Checks if the value is not equal to the specified value.
|
ConditionBuilder |
ConditionBuilder.notEqualTo(byte[] value)
Checks if the value is not equal to the specified value.
|
ConditionBuilder |
ConditionBuilder.notEqualTo(byte subType,
byte[] value)
Checks if the value is not equal to the specified value.
|
ConditionBuilder |
ConditionBuilder.notEqualTo(Date dateTime)
Checks if the value is not equal to the specified dateTime.
|
ConditionBuilder |
ConditionBuilder.notEqualTo(DocumentAssignable value)
Checks if the value is not equal to the specified value.
|
ConditionBuilder |
ConditionBuilder.notEqualTo(double value)
Checks if the value is not equal to the specified value.
|
ConditionBuilder |
ConditionBuilder.notEqualTo(int value)
Checks if the value is not equal to the specified value.
|
ConditionBuilder |
ConditionBuilder.notEqualTo(long value)
Checks if the value is not equal to the specified value.
|
ConditionBuilder |
ConditionBuilder.notEqualTo(ObjectId value)
Checks if the value is not equal to the specified value.
|
ConditionBuilder |
ConditionBuilder.notEqualTo(Pattern value)
Checks if the value is not equal to the specified value.
|
ConditionBuilder |
ConditionBuilder.notEqualTo(String value)
Checks if the value is not equal to the specified value.
|
ConditionBuilder |
ConditionBuilder.notEqualTo(UUID uuid)
Checks if the value is not equal to the specified uuid using the
standard UUID byte ordering.
|
ConditionBuilder |
ConditionBuilder.notEqualToJavaScript(String value)
Checks if the value is not equal to the specified value.
|
ConditionBuilder |
ConditionBuilder.notEqualToJavaScript(String value,
DocumentAssignable scope)
Checks if the value is not equal to the specified value.
|
ConditionBuilder |
ConditionBuilder.notEqualToLegacy(UUID uuid)
Checks if the value is not equal to the specified uuid using the
legacy Java UUID byte ordering.
|
ConditionBuilder |
ConditionBuilder.notEqualToMaxKey()
Checks if the value is not equal to the specified value.
|
ConditionBuilder |
ConditionBuilder.notEqualToMinKey()
Checks if the value is not equal to the specified value.
|
ConditionBuilder |
ConditionBuilder.notEqualToMongoTimestamp(long value)
Checks if the value is not equal to the specified value.
|
ConditionBuilder |
ConditionBuilder.notEqualToNull()
Checks if the value is not equal to the specified value.
|
ConditionBuilder |
ConditionBuilder.notEqualToSymbol(String value)
Checks if the value is not equal to the specified value.
|
ConditionBuilder |
ConditionBuilder.notEqualToTimestamp(long value)
Checks if the value is not equal to the specified value.
|
ConditionBuilder |
ConditionBuilder.notIn(ArrayBuilder elements)
Specify the values that must not match the field's value.
|
ConditionBuilder |
ConditionBuilder.notIn(boolean... values)
Specify the values that must not match the field's value.
|
ConditionBuilder |
ConditionBuilder.notIn(byte[]... values)
Specify the values that must not match the field's value.
|
ConditionBuilder |
ConditionBuilder.notIn(Constant... values)
Specify the values that must not match the field's value.
|
ConditionBuilder |
ConditionBuilder.notIn(Date... values)
Specify the values that must not match the field's value.
|
ConditionBuilder |
ConditionBuilder.notIn(DocumentAssignable... values)
Specify the values that must not match the field's value.
|
ConditionBuilder |
ConditionBuilder.notIn(Double... values)
Specify the values that must not match the field's value.
|
ConditionBuilder |
ConditionBuilder.notIn(Element... elements)
Specify the values that must not match the field's value.
|
ConditionBuilder |
ConditionBuilder.notIn(Integer... values)
Specify the values that must not match the field's value.
|
ConditionBuilder |
ConditionBuilder.notIn(Long... values)
Specify the values that must not match the field's value.
|
ConditionBuilder |
ConditionBuilder.notIn(ObjectId... values)
Specify the values that must not match the field's value.
|
ConditionBuilder |
ConditionBuilder.notIn(Pattern... values)
Specify the values that must not match the field's value.
|
ConditionBuilder |
ConditionBuilder.notIn(String... values)
Specify the values that must not match the field's value.
|
ConditionBuilder |
ConditionBuilder.notIn(UUID... values)
Specify the values that must not match the field's value.
|
ConditionBuilder |
ConditionBuilder.size(int length)
Checks if the value is an array of the specified length.
|
ConditionBuilder |
ConditionBuilder.text(String textSearchExpression)
Adds a text query to the query.
|
ConditionBuilder |
ConditionBuilder.text(String textSearchExpression,
String language)
Adds a text query to the query.
|
ConditionBuilder |
ConditionBuilder.where(String javaScript)
Adds an ad-hoc JavaScript condition to the query.
|
static ConditionBuilder |
QueryBuilder.where(String field)
Start a criteria for a single conjunctions.
|
ConditionBuilder |
QueryBuilder.whereField(String fieldName)
Returns a builder for the constraints on a single field.
|
ConditionBuilder |
ConditionBuilder.within(boolean uniqueDocs,
Point2D p1,
Point2D p2,
Point2D p3,
Point2D... points)
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method
will not be removed until two releases after the MongoDB 2.6
release (e.g. 2.10 if the releases are 2.8 and 2.10). |
ConditionBuilder |
ConditionBuilder.within(DocumentAssignable geoJsonDoc)
Geospatial query for documents whose field is within the specified
GeoJSON specified geometry. |
ConditionBuilder |
ConditionBuilder.within(DocumentAssignable geoJsonDoc,
boolean uniqueDocs)
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method
will not be removed until two releases after the MongoDB 2.6
release (e.g. 2.10 if the releases are 2.8 and 2.10). |
ConditionBuilder |
ConditionBuilder.within(double x,
double y,
double radius)
Geospatial query for documents whose field is within the specified
bounding circular region.
|
ConditionBuilder |
ConditionBuilder.within(double x,
double y,
double radius,
boolean uniqueDocs)
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method
will not be removed until two releases after the MongoDB 2.6
release (e.g. 2.10 if the releases are 2.8 and 2.10). |
ConditionBuilder |
ConditionBuilder.within(double x1,
double y1,
double x2,
double y2)
Geospatial query for documents whose field is within the specified
bounding rectangular region.
|
ConditionBuilder |
ConditionBuilder.within(double x1,
double y1,
double x2,
double y2,
boolean uniqueDocs)
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method
will not be removed until two releases after the MongoDB 2.6
release (e.g. 2.10 if the releases are 2.8 and 2.10). |
ConditionBuilder |
ConditionBuilder.within(int x,
int y,
int radius)
Geospatial query for documents whose field is within the specified
bounding circular region.
|
ConditionBuilder |
ConditionBuilder.within(int x,
int y,
int radius,
boolean uniqueDocs)
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method
will not be removed until two releases after the MongoDB 2.6
release (e.g. 2.10 if the releases are 2.8 and 2.10). |
ConditionBuilder |
ConditionBuilder.within(int x1,
int y1,
int x2,
int y2)
Geospatial query for documents whose field is within the specified
bounding rectangular region.
|
ConditionBuilder |
ConditionBuilder.within(int x1,
int y1,
int x2,
int y2,
boolean uniqueDocs)
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method
will not be removed until two releases after the MongoDB 2.6
release (e.g. 2.10 if the releases are 2.8 and 2.10). |
ConditionBuilder |
ConditionBuilder.within(long x,
long y,
long radius)
Geospatial query for documents whose field is within the specified
bounding circular region.
|
ConditionBuilder |
ConditionBuilder.within(long x,
long y,
long radius,
boolean uniqueDocs)
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method
will not be removed until two releases after the MongoDB 2.6
release (e.g. 2.10 if the releases are 2.8 and 2.10). |
ConditionBuilder |
ConditionBuilder.within(long x1,
long y1,
long x2,
long y2)
Geospatial query for documents whose field is within the specified
bounding rectangular region.
|
ConditionBuilder |
ConditionBuilder.within(long x1,
long y1,
long x2,
long y2,
boolean uniqueDocs)
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method
will not be removed until two releases after the MongoDB 2.6
release (e.g. 2.10 if the releases are 2.8 and 2.10). |
ConditionBuilder |
ConditionBuilder.within(Point2D p1,
Point2D p2,
Point2D p3,
Point2D... points)
Geospatial query for documents whose field is within the specified
bounding polygon.
|
ConditionBuilder |
ConditionBuilder.withinOnSphere(double x,
double y,
double radius)
Geospatial query for documents whose field is within the specified
bounding circular region on a sphere.
|
ConditionBuilder |
ConditionBuilder.withinOnSphere(double x,
double y,
double radius,
boolean uniqueDocs)
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method
will not be removed until two releases after the MongoDB 2.6
release (e.g. 2.10 if the releases are 2.8 and 2.10). |
ConditionBuilder |
ConditionBuilder.withinOnSphere(int x,
int y,
int radius)
Geospatial query for documents whose field is within the specified
bounding circular region on a sphere.
|
ConditionBuilder |
ConditionBuilder.withinOnSphere(int x,
int y,
int radius,
boolean uniqueDocs)
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method
will not be removed until two releases after the MongoDB 2.6
release (e.g. 2.10 if the releases are 2.8 and 2.10). |
ConditionBuilder |
ConditionBuilder.withinOnSphere(long x,
long y,
long radius)
Geospatial query for documents whose field is within the specified
bounding circular region on a sphere.
|
ConditionBuilder |
ConditionBuilder.withinOnSphere(long x,
long y,
long radius,
boolean uniqueDocs)
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method
will not be removed until two releases after the MongoDB 2.6
release (e.g. 2.10 if the releases are 2.8 and 2.10). |
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.