Modifier and Type | Field and Description |
---|---|
protected com.mongodb.BasicDBObject |
filterObject |
static MongoFilterFactory |
FILTERS
Represents the filter factory used by mong queries.
|
protected static Mixing |
mixing |
protected Mongo |
mongo |
Modifier and Type | Method and Description |
---|---|
protected static String |
getRelationName(Class<?> type) |
String |
toString() |
protected void |
traceIfRequired(String collection,
sirius.kernel.commons.Watch w) |
void |
transferFilters(QueryBuilder<?> target)
Applies all filters of this query to the given target.
|
S |
where(Mapping key,
Object value)
Adds a condition which determines which documents should be selected.
|
S |
where(MongoConstraint filter)
Adds a complex filter which determines which documents should be selected.
|
S |
where(String key,
Object value)
Adds a condition which determines which documents should be selected.
|
protected Mongo mongo
protected com.mongodb.BasicDBObject filterObject
public static final MongoFilterFactory FILTERS
protected static Mixing mixing
public S where(Mapping key, Object value)
key
- the name of the field to filter onvalue
- the value to filter onpublic S where(String key, Object value)
key
- the name of the field to filter onvalue
- the value to filter onpublic S where(MongoConstraint filter)
filter
- the filter to applypublic void transferFilters(QueryBuilder<?> target)
target
- the target to be supplied with the filters of this queryprotected void traceIfRequired(String collection, sirius.kernel.commons.Watch w)
Copyright © 2018. All rights reserved.