public class WithinCircleCriterion extends AbstractCriterion
| Constructor and Description |
|---|
WithinCircleCriterion(java.lang.Number x,
java.lang.Number y,
java.lang.Number radius) |
| Modifier and Type | Method and Description |
|---|---|
static MqlCriterionFunction |
createFunction(java.lang.String functionName) |
java.lang.Number |
getRadius() |
java.lang.Number |
getX() |
java.lang.Number |
getY() |
java.lang.Object |
toQueryObject(ObjectMapper mapper)
Returns the query representation of the
Criterion. |
public WithinCircleCriterion(java.lang.Number x,
java.lang.Number y,
java.lang.Number radius)
public java.lang.Number getX()
public java.lang.Number getY()
public java.lang.Number getRadius()
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.