Package dev.morphia.query
Interface Criteria
-
- All Known Subinterfaces:
CriteriaContainer
- All Known Implementing Classes:
AbstractCriteria,CriteriaContainerImpl,QueryImpl,WhereCriteria
public interface CriteriaInternal class for building up query documents.Developer note. This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidattach(CriteriaContainer container)Used to add this Criteria to a CriteriaContainerjava.lang.StringgetFieldName()com.mongodb.DBObjecttoDBObject()
-
-
-
Method Detail
-
toDBObject
com.mongodb.DBObject toDBObject()
- Returns:
- the DBObject form of this type
-
attach
void attach(CriteriaContainer container)
Used to add this Criteria to a CriteriaContainer- Parameters:
container- the container to add to
-
getFieldName
java.lang.String getFieldName()
- Returns:
- the field name for the criteria
-
-