Package de.caluga.morphium.query
Interface MongoField<T>
-
- All Known Implementing Classes:
MongoFieldImpl
public interface MongoField<T>User: Stpehan Bösebeck Date: 26.03.12 Time: 11:30 Representation of a field in a query
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Query<T>all(Object... val)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 cornerQuery<T>center(double x, double y, double r)Query<T>centerSphere(double x, double y, double r)Query<T>elemMatch(Query<?> q)Query<T>elemMatch(Map<String,Object> q)Query<T>eq(Object val)Query<T>exists()Query<T>geoIntersects(Geo shape)Query<T>geoWithin(Geo shape)Query<T>geoWithinBox(Double x1, Double y1, Double x2, Double y2)StringgetFieldString()MorphiumObjectMappergetMapper()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(String ptrn)Query<T>matches(String ptrn, String options)Query<T>matches(Pattern p)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)voidsetFieldString(String fld)voidsetMapper(MorphiumObjectMapper mapper)voidsetQuery(Query<T> q)Query<T>size(int val)Query<T>type(MongoType t)
-
-
-
Method Detail
-
in
Query<T> in(Collection<?> vals)
-
nin
Query<T> nin(Collection<?> vals)
-
box
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
-
getMapper
MorphiumObjectMapper getMapper()
-
setMapper
void setMapper(MorphiumObjectMapper mapper)
-
getFieldString
String getFieldString()
-
setFieldString
void setFieldString(String fld)
-
-