public class WithinPolygonCriterion extends AbstractCriterion
| Constructor and Description |
|---|
WithinPolygonCriterion(java.lang.Number[][] points) |
| Modifier and Type | Method and Description |
|---|---|
static MqlCriterionFunction |
createFunction(java.lang.String functionName) |
java.lang.Number[][] |
getPoints() |
java.lang.Object |
toQueryObject(ObjectMapper mapper)
Returns the query representation of the
Criterion. |
public WithinPolygonCriterion(java.lang.Number[][] points)
public java.lang.Number[][] getPoints()
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.