|
|||||||||||
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.pickle.PickleDataStore
Pickel is really not very good, this is a simple wrap to let it live on as a zombie.
Any chance of people picking this up, adding index support to it and making it sing and dance? Please...
Field Summary |
Fields inherited from class org.geotools.data.AbstractDataStore |
isWriteable, listenerManager, LOGGER |
Constructor Summary | |
PickleDataStore(java.io.File parent,
java.lang.String name)
Construct MapInfoDataStore and attach it to the specified file. |
Method Summary | |
void |
createSchema(FeatureType featureType)
Subclass should implement to provide writing support. |
protected FeatureReader |
getFeatureReader(java.lang.String typeName)
Subclass must implement. |
protected FeatureReader |
getFeatureReader(java.lang.String typeName,
Query query)
GR: this method is called from inside getFeatureReader(Query ,Transaction ) to allow subclasses return an optimized FeatureReader wich supports the filter and attributes truncation specified in query
A subclass that supports the creation of such an optimized FeatureReader
shold override this method. |
protected FeatureWriter |
getFeatureWriter(java.lang.String typeName)
Subclass can implement this to provide writing support. |
FeatureType |
getSchema(java.lang.String typeName)
Retrive schema information for typeName |
java.lang.String[] |
getTypeNames()
Convience method for retriving all the names from the Catalog Entires |
Methods inherited from class org.geotools.data.AbstractDataStore |
createFeatureWriter, createLockingManager, createMetadata, getBounds, getCount, getFeatureReader, getFeatureSource, getFeatureWriter, getFeatureWriter, getFeatureWriterAppend, getLockingManager, getUnsupportedFilter, getView, updateSchema |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PickleDataStore(java.io.File parent, java.lang.String name) throws java.io.IOException
TODO: Hook this up with the directory datastore.
java.net.MalformedURLException
java.net.MalformedURLException
- invalid URL was used
java.io.IOException
Method Detail |
public void createSchema(FeatureType featureType) throws java.io.IOException
AbstractDataStore
createSchema
in interface DataStore
createSchema
in class AbstractDataStore
featureType
- Requested FeatureType
java.io.IOException
public java.lang.String[] getTypeNames()
AbstractDataStore
getTypeNames
in interface DataStore
getTypeNames
in class AbstractDataStore
public FeatureType getSchema(java.lang.String typeName) throws java.io.IOException
AbstractDataStore
getSchema
in interface DataStore
getSchema
in class AbstractDataStore
java.io.IOException
protected FeatureReader getFeatureReader(java.lang.String typeName, Query query) throws java.io.IOException
AbstractDataStore
query
A subclass that supports the creation of such an optimized FeatureReader
shold override this method. Otherwise, it just returns
getFeatureReader(typeName)
getFeatureReader
in class AbstractDataStore
java.io.IOException
protected FeatureReader getFeatureReader(java.lang.String typeName) throws java.io.IOException
AbstractDataStore
getFeatureReader
in class AbstractDataStore
typeName
-
java.io.IOException
protected FeatureWriter getFeatureWriter(java.lang.String typeName) throws java.io.IOException
AbstractDataStore
getFeatureWriter
in class AbstractDataStore
typeName
-
java.io.IOException
- Subclass may throw IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |