public class CollectionCriteria extends MongoCriteria
| Constructor and Description |
|---|
CollectionCriteria(MongoProperty property,
String operator,
Object expression)
Returns a criterion that requires the given
property value to be present in the given
expression to evaluate to true. |
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.DBObject |
asMongoObject()
Returns the DBObject representing the criterium.
|
and, or, toStringpublic CollectionCriteria(MongoProperty property, String operator, Object expression)
property value to be present in the given
expression to evaluate to true.property - The property to matchoperator - The collection operator to useexpression - The expression to that expresses the collection to match against the propertypublic com.mongodb.DBObject asMongoObject()
MongoCriteriaasMongoObject in class MongoCriteriaCopyright © 2010-2014. All Rights Reserved.