Package org.geotools.data.mongodb
Class MongoInferredMapper
- Object
-
- AbstractCollectionMapper
-
- MongoInferredMapper
-
- All Implemented Interfaces:
CollectionMapper
public class MongoInferredMapper extends AbstractCollectionMapper
- Author:
- tkunicki@boundlessgeo.com
-
-
Field Summary
Fields Modifier and Type Field Description static LoggerLOG-
Fields inherited from class AbstractCollectionMapper
MONGO_OBJECT_FEATURE_KEY
-
-
Constructor Summary
Constructors Constructor Description MongoInferredMapper()MongoInferredMapper(MongoSchemaInitParams schemainitParams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleFeatureTypebuildFeatureType(Name name, DBCollection collection)GeometrygetGeometry(DBObject dbo)StringgetGeometryPath()StringgetPropertyPath(String property)voidsetGeometry(DBObject dbo, Geometry g)DBObjecttoObject(Geometry g)-
Methods inherited from class AbstractCollectionMapper
buildFeature
-
-
-
-
Field Detail
-
LOG
public static final Logger LOG
-
-
Constructor Detail
-
MongoInferredMapper
public MongoInferredMapper()
-
MongoInferredMapper
public MongoInferredMapper(MongoSchemaInitParams schemainitParams)
-
-
Method Detail
-
getGeometryPath
public String getGeometryPath()
-
getGeometry
public Geometry getGeometry(DBObject dbo)
-
toObject
public DBObject toObject(Geometry g)
-
setGeometry
public void setGeometry(DBObject dbo, Geometry g)
-
buildFeatureType
public SimpleFeatureType buildFeatureType(Name name, DBCollection collection)
-
-