Package org.geotools.data.mongodb
Class MongoSchemaFileStore
- Object
- 
- MongoSchemaFileStore
 
- 
- All Implemented Interfaces:
- MongoSchemaStore
 
 public class MongoSchemaFileStore extends Object implements MongoSchemaStore - Author:
- tkunicki@boundlessgeo.com
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected FileschemaStoreFile
 - 
Constructor SummaryConstructors Constructor Description MongoSchemaFileStore(File file)MongoSchemaFileStore(String uri)MongoSchemaFileStore(URI uri)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voiddeleteSchema(Name name)SimpleFeatureTyperetrieveSchema(Name name)voidstoreSchema(SimpleFeatureType schema)List<String>typeNames()
 
- 
- 
- 
Field Detail- 
schemaStoreFileprotected File schemaStoreFile 
 
- 
 - 
Constructor Detail- 
MongoSchemaFileStorepublic MongoSchemaFileStore(String uri) throws IOException, URISyntaxException - Throws:
- IOException
- URISyntaxException
 
 - 
MongoSchemaFileStorepublic MongoSchemaFileStore(URI uri) throws IOException - Throws:
- IOException
 
 - 
MongoSchemaFileStorepublic MongoSchemaFileStore(File file) throws IOException - Throws:
- IOException
 
 
- 
 - 
Method Detail- 
storeSchemapublic void storeSchema(SimpleFeatureType schema) throws IOException - Specified by:
- storeSchemain interface- MongoSchemaStore
- Throws:
- IOException
 
 - 
retrieveSchemapublic SimpleFeatureType retrieveSchema(Name name) throws IOException - Specified by:
- retrieveSchemain interface- MongoSchemaStore
- Throws:
- IOException
 
 - 
deleteSchemapublic void deleteSchema(Name name) throws IOException - Specified by:
- deleteSchemain interface- MongoSchemaStore
- Throws:
- IOException
 
 - 
typeNamespublic List<String> typeNames() - Specified by:
- typeNamesin interface- MongoSchemaStore
 
 - 
closepublic void close() - Specified by:
- closein interface- MongoSchemaStore
 
 
- 
 
-