public abstract class MongoCriteria extends Object implements Criteria
| Constructor and Description |
|---|
MongoCriteria() |
| Modifier and Type | Method and Description |
|---|---|
Criteria |
and(Criteria criteria)
Returns a criteria instance where both
this and given criteria must match. |
abstract com.mongodb.DBObject |
asMongoObject()
Returns the DBObject representing the criterium.
|
Criteria |
or(Criteria criteria)
Returns a criteria instance where either
this or the given criteria must match. |
String |
toString() |
public Criteria and(Criteria criteria)
Criteriathis and given criteria must match.public Criteria or(Criteria criteria)
Criteriathis or the given criteria must match.public abstract com.mongodb.DBObject asMongoObject()
Copyright © 2010-2014. All Rights Reserved.