public class FilterToMongo extends AbstractFilterToMongo
GNU Lesser General Public License (LGPL)
geometryBuilder
Constructor and Description |
---|
FilterToMongo(CollectionMapper mapper) |
Modifier and Type | Method and Description |
---|---|
protected String |
getGeometryPath()
Method responsible of retrieving the MongoDB geometry json path
|
protected String |
getPropertyPath(String prop)
Method responsible of mapping a PropertyName to the corresponding MongoDB json path
|
protected Class<?> |
getValueTypeInternal(Expression e)
Method responsible of retrieving the value type of an Expression
|
void |
setFeatureType(SimpleFeatureType featureType)
Sets the feature type the encoder is encoding a filter for.
|
asDBObject, getValueType, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitNullFilter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visit
public FilterToMongo(CollectionMapper mapper)
public void setFeatureType(SimpleFeatureType featureType)
The type of the attributes may drive how the filter is translated to a mongodb query document.
protected Class<?> getValueTypeInternal(Expression e)
AbstractFilterToMongo
getValueTypeInternal
in class AbstractFilterToMongo
e
- the expression for which find the value typeprotected String getGeometryPath()
AbstractFilterToMongo
getGeometryPath
in class AbstractFilterToMongo
protected String getPropertyPath(String prop)
AbstractFilterToMongo
getPropertyPath
in class AbstractFilterToMongo
prop
- the string property name to mapCopyright © 1996–2023 Geotools. All rights reserved.