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)
Criteria
this
and given criteria
must match.public Criteria or(Criteria criteria)
Criteria
this
or the given criteria
must match.public abstract com.mongodb.DBObject asMongoObject()
Copyright © 2010-2014. All Rights Reserved.