Package org.geotools.data.mongodb
Class AbstractCollectionMapper
- Object
-
- AbstractCollectionMapper
-
- All Implemented Interfaces:
CollectionMapper
- Direct Known Subclasses:
GeoJSONMapper
,MongoInferredMapper
,MongoSchemaMapper
public abstract class AbstractCollectionMapper extends Object implements CollectionMapper
Maps a collection containing valid GeoJSON.- Author:
- tkunicki@boundlessgeo.com
-
-
Field Summary
Fields Modifier and Type Field Description static String
MONGO_OBJECT_FEATURE_KEY
-
Constructor Summary
Constructors Constructor Description AbstractCollectionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleFeature
buildFeature(DBObject rootDBO, SimpleFeatureType featureType)
-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface CollectionMapper
buildFeatureType, getGeometry, getGeometryPath, getPropertyPath, setGeometry, toObject
-
-
-
-
Field Detail
-
MONGO_OBJECT_FEATURE_KEY
public static final String MONGO_OBJECT_FEATURE_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
buildFeature
public SimpleFeature buildFeature(DBObject rootDBO, SimpleFeatureType featureType)
- Specified by:
buildFeature
in interfaceCollectionMapper
-
-