| org.geotools.caching.InternalStore
All known Subclasses: org.geotools.caching.impl.SimpleHashMapInternalStore, org.geotools.caching.impl.HashMapInternalStore,
InternalStore | public interface InternalStore (Code) | | This is the interface for the FeatureIndex backend,
when FeatureIndex uses non-clustered index (ie data and data index are separate).
It offers a generic contract,
in order to allow different implementation
on how the data is actually stored
(eg. in memory, in another DataStore, on disk, in a database).
author: Christophe Rousson, SoC 2007, CRG-ULAVAL |
Method Summary | |
abstract public void | clear() Empties the store. | abstract public boolean | contains(Feature feature) Test if a feature is already in the store. | abstract public boolean | contains(String featureId) Test if a feature is already in the store. | abstract public Feature | get(String featureId) Returns the feature identified by id.
Parameters: featureId - the id of the feature to return. | abstract public Collection | getAll() Returns all the features in the store as a Collection. | abstract public void | put(Feature f) Store a feature. | abstract public void | remove(String featureId) Removes the feature identified by id. |
clear | abstract public void clear()(Code) | | Empties the store.
|
contains | abstract public boolean contains(Feature feature)(Code) | | Test if a feature is already in the store.
Parameters: feature - a feature true if this feature is already stored. |
contains | abstract public boolean contains(String featureId)(Code) | | Test if a feature is already in the store.
Parameters: featureId - the Id of a feature true if this feature is already stored. |
get | abstract public Feature get(String featureId)(Code) | | Returns the feature identified by id.
Parameters: featureId - the id of the feature to return. the feature, or null if the feature does not exist in store. |
getAll | abstract public Collection getAll()(Code) | | Returns all the features in the store as a Collection.
all the features in the store |
put | abstract public void put(Feature f)(Code) | | Store a feature.
Parameters: f - a feature |
remove | abstract public void remove(String featureId)(Code) | | Removes the feature identified by id.
Parameters: featureId - the id of the feature to remove from store. |
|
|