Package de.bwaldvogel.mongo.backend
Class DefaultQueryMatcher
- java.lang.Object
-
- de.bwaldvogel.mongo.backend.DefaultQueryMatcher
-
- All Implemented Interfaces:
QueryMatcher
public class DefaultQueryMatcher extends java.lang.Object implements QueryMatcher
-
-
Constructor Summary
Constructors Constructor Description DefaultQueryMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatches(Document document, Document query)booleanmatchesValue(java.lang.Object queryValue, java.lang.Object value)java.lang.IntegermatchPosition(Document document, Document query)
-
-
-
Method Detail
-
matches
public boolean matches(Document document, Document query)
- Specified by:
matchesin interfaceQueryMatcher
-
matchPosition
public java.lang.Integer matchPosition(Document document, Document query)
- Specified by:
matchPositionin interfaceQueryMatcher
-
matchesValue
public boolean matchesValue(java.lang.Object queryValue, java.lang.Object value)- Specified by:
matchesValuein interfaceQueryMatcher
-
-