|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.data.AbstractDataStore org.geotools.data.AbstractFileDataStore
This class assumes the DataStore represents a single source, represented by a URL. In many cases the default functionality is chained off to the parent class (AbstractDataStore).
AbstractDataStore
Field Summary |
Fields inherited from class org.geotools.data.AbstractDataStore |
isWriteable, listenerManager, LOGGER |
Constructor Summary | |
AbstractFileDataStore()
|
Method Summary | |
protected abstract FeatureReader |
getFeatureReader()
Singular version, which must be implemented to represent a Reader for the url being read. |
FeatureSource |
getFeatureSource()
Singular version, calls parent with getSchema().getTypeName() |
FeatureWriter |
getFeatureWriter(Filter filter,
Transaction transaction)
Singular version, calls parent with getSchema().getTypeName() |
FeatureWriter |
getFeatureWriter(Transaction transaction)
|
FeatureWriter |
getFeatureWriterAppend(Transaction transaction)
|
abstract FeatureType |
getSchema()
Singular version, returns the FeatureType for the url being read. |
void |
updateSchema(FeatureType featureType)
Singular version, calls parent with getSchema().getTypeName() |
Methods inherited from class org.geotools.data.AbstractDataStore |
createFeatureWriter, createLockingManager, createMetadata, createSchema, getBounds, getCount, getFeatureReader, getFeatureReader, getFeatureReader, getFeatureSource, getFeatureWriter, getFeatureWriter, getFeatureWriter, getFeatureWriterAppend, getLockingManager, getSchema, getTypeNames, getUnsupportedFilter, getView, updateSchema |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractFileDataStore()
Method Detail |
public abstract FeatureType getSchema() throws java.io.IOException
java.io.IOException
DataStore.getSchema(java.lang.String)
protected abstract FeatureReader getFeatureReader() throws java.io.IOException
java.io.IOException
org.geotools.data.DataStore#getFeatureReader(java.lang.String)
public void updateSchema(FeatureType featureType) throws java.io.IOException
java.io.IOException
DataStore.updateSchema(java.lang.String,
org.geotools.feature.FeatureType)
public FeatureSource getFeatureSource() throws java.io.IOException
java.io.IOException
DataStore.getFeatureSource(java.lang.String)
public FeatureWriter getFeatureWriter(Filter filter, Transaction transaction) throws java.io.IOException
java.io.IOException
DataStore.getFeatureWriter(java.lang.String,
org.geotools.filter.Filter, org.geotools.data.Transaction)
public FeatureWriter getFeatureWriter(Transaction transaction) throws java.io.IOException
java.io.IOException
DataStore.getFeatureWriter(java.lang.String,
org.geotools.data.Transaction)
public FeatureWriter getFeatureWriterAppend(Transaction transaction) throws java.io.IOException
java.io.IOException
DataStore.getFeatureWriterAppend(java.lang.String,
org.geotools.data.Transaction)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |