Package org.geotools.data.mongodb
Class MongoSchemaMapper
- Object
- 
- AbstractCollectionMapper
- 
- MongoSchemaMapper
 
 
- 
- All Implemented Interfaces:
- CollectionMapper
 
 public class MongoSchemaMapper extends AbstractCollectionMapper - Author:
- tkunicki@boundlessgeo.com
 
- 
- 
Field Summary- 
Fields inherited from class AbstractCollectionMapperMONGO_OBJECT_FEATURE_KEY
 
- 
 - 
Constructor SummaryConstructors Constructor Description MongoSchemaMapper(SimpleFeatureType schema)
 - 
Method SummaryAll 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 AbstractCollectionMapperbuildFeature
 
- 
 
- 
- 
- 
Constructor Detail- 
MongoSchemaMapperpublic MongoSchemaMapper(SimpleFeatureType schema) 
 
- 
 - 
Method Detail- 
getGeometryPathpublic String getGeometryPath() 
 - 
getGeometrypublic Geometry getGeometry(DBObject dbo) 
 - 
toObjectpublic DBObject toObject(Geometry g) 
 - 
setGeometrypublic void setGeometry(DBObject dbo, Geometry g)
 - 
buildFeatureTypepublic SimpleFeatureType buildFeatureType(Name name, DBCollection collection) 
 
- 
 
-