Package org.geotools.data.mongodb
Class MongoSchemaDBStore
- Object
-
- MongoSchemaDBStore
-
- All Implemented Interfaces:
MongoSchemaStore
public class MongoSchemaDBStore extends Object implements MongoSchemaStore
- Author:
- tkunicki@boundlessgeo.com
-
-
Constructor Summary
Constructors Constructor Description MongoSchemaDBStore(MongoClientURI uri)MongoSchemaDBStore(String uri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voiddeleteSchema(Name name)SimpleFeatureTyperetrieveSchema(Name name)voidstoreSchema(SimpleFeatureType schema)List<String>typeNames()
-
-
-
Constructor Detail
-
MongoSchemaDBStore
public MongoSchemaDBStore(String uri) throws IOException
- Throws:
IOException
-
MongoSchemaDBStore
public MongoSchemaDBStore(MongoClientURI uri) throws IOException- Throws:
IOException
-
-
Method Detail
-
storeSchema
public void storeSchema(SimpleFeatureType schema) throws IOException
- Specified by:
storeSchemain interfaceMongoSchemaStore- Throws:
IOException
-
retrieveSchema
public SimpleFeatureType retrieveSchema(Name name) throws IOException
- Specified by:
retrieveSchemain interfaceMongoSchemaStore- Throws:
IOException
-
deleteSchema
public void deleteSchema(Name name) throws IOException
- Specified by:
deleteSchemain interfaceMongoSchemaStore- Throws:
IOException
-
typeNames
public List<String> typeNames()
- Specified by:
typeNamesin interfaceMongoSchemaStore
-
close
public void close()
- Specified by:
closein interfaceMongoSchemaStore
-
-