Package dev.morphia.query
Interface Criteria
-
- All Known Subinterfaces:
CriteriaContainer
,Query<T>
- All Known Implementing Classes:
AbstractCriteria
,CriteriaContainerImpl
,LegacyQuery
,WhereCriteria
@MorphiaInternal @Deprecated(since="2.0", forRemoval=true) public interface Criteria
Deprecated, for removal: This API element is subject to removal in a future version.Internal 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 Default Methods Deprecated Methods Modifier and Type Method Description default void
attach(CriteriaContainer container)
Deprecated, for removal: This API element is subject to removal in a future version.Used to add this Criteria to a CriteriaContainerdefault String
getFieldName()
Deprecated, for removal: This API element is subject to removal in a future version.default Document
toDocument()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
attach
default void attach(CriteriaContainer container)
Deprecated, for removal: This API element is subject to removal in a future version.Used to add this Criteria to a CriteriaContainer- Parameters:
container
- the container to add to
-
getFieldName
default String getFieldName()
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the field name for the criteria
-
toDocument
default Document toDocument()
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the Document form of this type
-
-