public class MongoFieldImpl<T> extends Object implements MongoField<T>
| Constructor and Description |
|---|
MongoFieldImpl() |
MongoFieldImpl(Query<T> q,
ObjectMapper map) |
| Modifier and Type | Method and Description |
|---|---|
Query<T> |
eq(Object val) |
Query<T> |
exists() |
String |
getFieldString() |
ObjectMapper |
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> |
nin(Collection<?> vals) |
Query<T> |
notExists() |
void |
setFieldString(String fldStr) |
void |
setMapper(ObjectMapper mapper) |
void |
setQuery(Query<T> q) |
Query<T> |
type(MongoType t) |
public MongoFieldImpl()
public MongoFieldImpl(Query<T> q, ObjectMapper map)
public String getFieldString()
getFieldString in interface MongoField<T>public void setFieldString(String fldStr)
setFieldString in interface MongoField<T>public ObjectMapper getMapper()
getMapper in interface MongoField<T>public void setMapper(ObjectMapper mapper)
setMapper 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> near(double x, double y)
near in interface MongoField<T>public Query<T> getQuery()
getQuery in interface MongoField<T>public void setQuery(Query<T> q)
setQuery in interface MongoField<T>Copyright © 2012. All Rights Reserved.