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 Logger
LOG
-
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 SimpleFeatureType
buildFeatureType(Name name, DBCollection collection)
Geometry
getGeometry(DBObject dbo)
String
getGeometryPath()
String
getPropertyPath(String property)
void
setGeometry(DBObject dbo, Geometry g)
DBObject
toObject(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)
-
-