public class NotCriterion extends FieldCriterion
| Constructor and Description |
|---|
NotCriterion(FieldCriterion criterion) |
NotCriterion(java.lang.String fieldName,
Criterion criterion) |
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.DBObject |
toQueryObject(ObjectMapper mapper)
Returns the query representation of the
Criterion. |
getCriterion, getFieldNamepublic NotCriterion(java.lang.String fieldName,
Criterion criterion)
public NotCriterion(FieldCriterion criterion)
public com.mongodb.DBObject toQueryObject(ObjectMapper mapper)
Criterion.
Most of the time this will be a DBObject, but
it can be anything accepted by the MongoDB java driver.toQueryObject in interface CriteriontoQueryObject in interface DocumentCriteriontoQueryObject in class FieldCriterionmapper - the ObjectMapperObjectCopyright © 2013. All Rights Reserved.