Package dev.morphia.query
Class WhereCriteria
- java.lang.Object
-
- dev.morphia.query.AbstractCriteria
-
- dev.morphia.query.WhereCriteria
-
- All Implemented Interfaces:
Criteria
@Deprecated(since="2.0", forRemoval=true) public class WhereCriteria extends AbstractCriteria
Deprecated, for removal: This API element is subject to removal in a future version.Creates a Criteria for a $where clause.
-
-
Constructor Summary
Constructors Constructor Description WhereCriteria(String js)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a WhereCriteria with the given javascript
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getFieldName()
Deprecated, for removal: This API element is subject to removal in a future version.Document
toDocument()
Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class dev.morphia.query.AbstractCriteria
attach
-
-
-
-
Constructor Detail
-
WhereCriteria
public WhereCriteria(String js)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a WhereCriteria with the given javascript- Parameters:
js
- the javascript
-
-
Method Detail
-
toDocument
public Document toDocument()
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the Document form of this type
-
getFieldName
public String getFieldName()
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the field name for the criteria
-
-