|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.axonframework.mongo3.eventstore.criteria.MongoCriteria
public abstract class MongoCriteria
Abstract class for Mongo-based criteria.
Constructor Summary | |
---|---|
MongoCriteria()
|
Method Summary | |
---|---|
Criteria |
and(Criteria criteria)
Returns a criteria instance where both this and given criteria must match. |
abstract org.bson.conversions.Bson |
asBson()
Returns the Bson representing the criterium. |
Criteria |
or(Criteria criteria)
Returns a criteria instance where either this or the given criteria must match. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MongoCriteria()
Method Detail |
---|
public Criteria and(Criteria criteria)
Criteria
this
and given criteria
must match.
and
in interface Criteria
criteria
- The criteria that must match
this
and criteria
matchpublic Criteria or(Criteria criteria)
Criteria
this
or the given criteria
must match.
or
in interface Criteria
criteria
- The criteria that must match if this
doesn't match
this
or the given criteria
matchpublic abstract org.bson.conversions.Bson asBson()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |