public interface FileDataStore extends DataStore
Allows developer to skip refering to the typeName when a file contains only a single set of content.
Modifier and Type | Method and Description |
---|---|
FeatureReader<SimpleFeatureType,SimpleFeature> |
getFeatureReader() |
SimpleFeatureSource |
getFeatureSource() |
FeatureWriter<SimpleFeatureType,SimpleFeature> |
getFeatureWriter(Filter filter,
Transaction transaction) |
FeatureWriter<SimpleFeatureType,SimpleFeature> |
getFeatureWriter(Transaction transaction) |
FeatureWriter<SimpleFeatureType,SimpleFeature> |
getFeatureWriterAppend(Transaction transaction) |
SimpleFeatureType |
getSchema()
FeatureType for the file being read.
|
void |
updateSchema(SimpleFeatureType featureType) |
getFeatureReader, getFeatureSource, getFeatureSource, getFeatureWriter, getFeatureWriter, getFeatureWriterAppend, getLockingManager, getSchema, getTypeNames, removeSchema, updateSchema
createSchema, dispose, getInfo, getNames, getSchema, removeSchema, updateSchema
SimpleFeatureType getSchema() throws IOException
This is the same as getSchema( getTypeName[0] )
IOException
DataStore.getSchema(java.lang.String)
void updateSchema(SimpleFeatureType featureType) throws IOException
IOException
DataStore.updateSchema(java.lang.String,SimpleFeatureType)
SimpleFeatureSource getFeatureSource() throws IOException
IOException
DataStore.getFeatureSource(java.lang.String)
FeatureReader<SimpleFeatureType,SimpleFeature> getFeatureReader() throws IOException
IOException
org.geotools.data.DataStore#getFeatureReader(java.lang.String)
FeatureWriter<SimpleFeatureType,SimpleFeature> getFeatureWriter(Filter filter, Transaction transaction) throws IOException
IOException
org.geotools.data.DataStore#getFeatureWriter(Filter,Transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature> getFeatureWriter(Transaction transaction) throws IOException
FeatureWriter<SimpleFeatureType,SimpleFeature> getFeatureWriterAppend(Transaction transaction) throws IOException
Copyright © 1996–2019 Geotools. All rights reserved.