public class MongoFieldImpl<T> extends Object implements MongoField<T>
MongoField| Constructor and Description |
|---|
MongoFieldImpl() |
MongoFieldImpl(Query<T> q,
MorphiumObjectMapper map) |
| Modifier and Type | Method and Description |
|---|---|
Query<T> |
all(List<Object> val) |
Query<T> |
bitsAllClear(int... b) |
Query<T> |
bitsAllClear(long bitmask) |
Query<T> |
bitsAllSet(int... b) |
Query<T> |
bitsAllSet(long bitmask) |
Query<T> |
bitsAnyClear(int... b) |
Query<T> |
bitsAnyClear(long bitmask) |
Query<T> |
bitsAnySet(int... b) |
Query<T> |
bitsAnySet(long bitmask) |
Query<T> |
box(double x,
double y,
double x2,
double y2)
search for entries with geo coordinates wihtin the given rectancle - x,y upper left, x2,y2 lower right corner
|
Query<T> |
center(double x,
double y,
double r) |
Query<T> |
centerSphere(double x,
double y,
double r) |
Query<T> |
eq(Object val) |
Query<T> |
exists() |
Query<T> |
geoIntersects(Geo shape) |
Query<T> |
geoWithin(Geo shape) |
String |
getFieldString() |
MorphiumObjectMapper |
getMapper() |
Query<T> |
getQuery() |
Query<T> |
gt(Object val) |
Query<T> |
gte(Object val) |
Query<T> |
in(Collection<?> vals) |
Query<T> |
lt(Object val) |
Query<T> |
lte(Object val) |
Query<T> |
matches(Pattern p) |
Query<T> |
matches(String ptrn) |
Query<T> |
mod(int base,
int val) |
Query<T> |
ne(Object val) |
Query<T> |
near(double x,
double y) |
Query<T> |
near(double x,
double y,
double maxDistance) |
Query<T> |
near(Point point,
double minDistance,
double maxDistance) |
Query<T> |
nearSpere(Point point,
double minDistance,
double maxDistance) |
Query<T> |
nearSphere(double x,
double y) |
Query<T> |
nearSphere(double x,
double y,
double maxDistance) |
Query<T> |
nearSphere(double x,
double y,
double minDistance,
double maxDistance) |
Query<T> |
nin(Collection<?> vals) |
Query<T> |
not() |
Query<T> |
notExists() |
Query<T> |
polygon(double... p) |
Query<T> |
polygon(Polygon p) |
void |
setFieldString(String fldStr) |
void |
setMapper(MorphiumObjectMapper mapper) |
void |
setQuery(Query<T> q) |
Query<T> |
size(int val) |
Query<T> |
type(MongoType t) |
public MongoFieldImpl()
public MongoFieldImpl(Query<T> q, MorphiumObjectMapper map)
public Query<T> not()
not in interface MongoField<T>public String getFieldString()
getFieldString in interface MongoField<T>public void setFieldString(String fldStr)
setFieldString in interface MongoField<T>public MorphiumObjectMapper getMapper()
getMapper in interface MongoField<T>public void setMapper(MorphiumObjectMapper mapper)
setMapper in interface MongoField<T>public Query<T> size(int val)
size in interface MongoField<T>public Query<T> exists()
exists in interface MongoField<T>public Query<T> notExists()
notExists in interface MongoField<T>public Query<T> mod(int base, int val)
mod in interface MongoField<T>public Query<T> in(Collection<?> vals)
in in interface MongoField<T>public Query<T> nin(Collection<?> vals)
nin in interface MongoField<T>public Query<T> polygon(double... p)
polygon in interface MongoField<T>public Query<T> getQuery()
getQuery in interface MongoField<T>public void setQuery(Query<T> q)
setQuery in interface MongoField<T>public Query<T> bitsAllClear(int... b)
bitsAllClear in interface MongoField<T>public Query<T> bitsAllSet(int... b)
bitsAllSet in interface MongoField<T>public Query<T> bitsAnyClear(int... b)
bitsAnyClear in interface MongoField<T>public Query<T> bitsAnySet(int... b)
bitsAnySet in interface MongoField<T>public Query<T> bitsAllClear(long bitmask)
bitsAllClear in interface MongoField<T>public Query<T> bitsAllSet(long bitmask)
bitsAllSet in interface MongoField<T>public Query<T> bitsAnyClear(long bitmask)
bitsAnyClear in interface MongoField<T>public Query<T> bitsAnySet(long bitmask)
bitsAnySet in interface MongoField<T>public Query<T> near(double x, double y)
near in interface MongoField<T>public Query<T> nearSphere(double x, double y)
nearSphere in interface MongoField<T>public Query<T> box(double x, double y, double x2, double y2)
MongoFieldbox in interface MongoField<T>public Query<T> center(double x, double y, double r)
center in interface MongoField<T>public Query<T> centerSphere(double x, double y, double r)
centerSphere in interface MongoField<T>public Query<T> nearSphere(double x, double y, double maxDistance)
nearSphere in interface MongoField<T>public Query<T> nearSphere(double x, double y, double minDistance, double maxDistance)
nearSphere in interface MongoField<T>public Query<T> nearSpere(Point point, double minDistance, double maxDistance)
nearSpere in interface MongoField<T>public Query<T> near(double x, double y, double maxDistance)
near in interface MongoField<T>public Query<T> near(Point point, double minDistance, double maxDistance)
near in interface MongoField<T>public Query<T> geoIntersects(Geo shape)
geoIntersects in interface MongoField<T>Copyright © 2021. All rights reserved.