public class ExistsCriterion extends AbstractCriterion
| Constructor and Description |
|---|
ExistsCriterion(java.lang.Boolean value) |
| Modifier and Type | Method and Description |
|---|---|
static MqlCriterionFunction |
createFunction(java.lang.String functionName) |
static MqlCriterionFunction |
createNegatedFunction(java.lang.String functionName) |
java.lang.Boolean |
getValue() |
java.lang.Object |
toQueryObject(ObjectMapper mapper)
Returns the query representation of the
Criterion. |
public java.lang.Boolean getValue()
public java.lang.Object toQueryObject(ObjectMapper mapper)
Criterion.
Most of the time this will be a DBObject, but
it can be anything accepted by the MongoDB java driver.toQueryObject in interface CriteriontoQueryObject in class AbstractCriterionmapper - the ObjectMapperObjectpublic static MqlCriterionFunction createFunction(java.lang.String functionName)
public static MqlCriterionFunction createNegatedFunction(java.lang.String functionName)
Copyright © 2013. All Rights Reserved.