Package org.geotools.api.data
Interface FileDataStore
- All Superinterfaces:
DataAccess<SimpleFeatureType,
,SimpleFeature> DataStore
- All Known Implementing Classes:
CSVDataStore
,GeoJSONDataStore
,ShapefileDataStore
DataStore represents a single file of content.
Allows developer to skip refering to the typeName when a file contains only a single set of content.
-
Method Summary
Modifier and TypeMethodDescriptiongetFeatureWriter
(Transaction transaction) getFeatureWriter
(Filter filter, Transaction transaction) getFeatureWriterAppend
(Transaction transaction) FeatureType for the file being read.void
updateSchema
(SimpleFeatureType featureType) Methods inherited from interface DataAccess
createSchema, dispose, getInfo, getNames, getSchema, removeSchema, updateSchema
Methods inherited from interface DataStore
getFeatureReader, getFeatureSource, getFeatureSource, getFeatureWriter, getFeatureWriter, getFeatureWriterAppend, getLockingManager, getSchema, getTypeNames, removeSchema, updateSchema
-
Method Details
-
getSchema
FeatureType for the file being read.This is the same as getSchema( getTypeName[0] )
- Returns:
- FeatureType of the file being read
- Throws:
IOException
- See Also:
-
updateSchema
- Throws:
IOException
- See Also:
-
getFeatureSource
- Throws:
IOException
- See Also:
-
getFeatureReader
- Throws:
IOException
- See Also:
-
getFeatureWriter
FeatureWriter<SimpleFeatureType,SimpleFeature> getFeatureWriter(Filter filter, Transaction transaction) throws IOException - Throws:
IOException
- See Also:
-
getFeatureWriter
FeatureWriter<SimpleFeatureType,SimpleFeature> getFeatureWriter(Transaction transaction) throws IOException - Throws:
IOException
- See Also:
-
getFeatureWriterAppend
FeatureWriter<SimpleFeatureType,SimpleFeature> getFeatureWriterAppend(Transaction transaction) throws IOException - Throws:
IOException
- See Also:
-