public class TypeCriterion extends AbstractCriterion
| Modifier and Type | Class and Description |
|---|---|
static class |
TypeCriterion.Type |
| Constructor and Description |
|---|
TypeCriterion(java.lang.Number typeCode) |
TypeCriterion(TypeCriterion.Type type) |
| Modifier and Type | Method and Description |
|---|---|
static MqlCriterionFunction |
createFunction(java.lang.String functionName) |
java.lang.Number |
getTypeCode() |
java.lang.Object |
toQueryObject(ObjectMapper mapper)
Returns the query representation of the
Criterion. |
public TypeCriterion(java.lang.Number typeCode)
public TypeCriterion(TypeCriterion.Type type)
public java.lang.Number getTypeCode()
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)
Copyright © 2013. All Rights Reserved.