| org.geotools.data.AbstractFeatureStore org.geotools.data.postgis.VersionedPostgisFeatureStore
VersionedPostgisFeatureStore | public class VersionedPostgisFeatureStore extends AbstractFeatureStore implements VersioningFeatureStore(Code) | | A cheap implementation of a feature locking.
Implementation wise, for all locking needs, tries to leverage the wrapped datastore feature
locking. If an optimization is possible (mass updates come to mind), we try to use the feature
locking, otherwiser we fall back on the implementation inherited from AbstractFeatureSource.
VersionedPostgisFeatureStore.modifyFeatures(AttributeType[],Object[],Filter) is an example of things that cannot be
optimized. Theoretically, one could mass expire current feature, but he should have first read
into memory all of them to rewrite them as new (which may not be possible).
author: aaime since: 2.4 |
Method Summary | |
public void | addFeatureListener(FeatureListener listener) | public Envelope | getBounds() | public Envelope | getBounds(Query query) | public int | getCount(Query query) | public DataStore | getDataStore() | public FeatureDiffReader | getDifferences(String fromVersion, String toVersion, Filter filter, String[] userIds) | public FeatureCollection | getFeatures(Query query) | public FeatureCollection | getFeatures(Filter filter) | public FeatureCollection | getFeatures() | public FeatureCollection | getLog(String fromVersion, String toVersion, Filter filter, String[] userIds, int maxRows) | public FeatureType | getSchema() | public Set | getSupportedHints() | public Transaction | getTransaction() | public FeatureCollection | getVersionedFeatures(Query query) | public FeatureCollection | getVersionedFeatures(Filter filter) | public FeatureCollection | getVersionedFeatures() | public void | modifyFeatures(AttributeType type, Object value, Filter filter) | public void | modifyFeatures(AttributeType[] type, Object[] value, Filter filter) | public void | removeFeatureListener(FeatureListener listener) | public void | removeFeatures(Filter filter) | public void | rollback(String toVersion, Filter filter, String[] userIds) | public void | setFeatures(FeatureReader reader) | public void | setTransaction(Transaction transaction) |
getSupportedHints | public Set getSupportedHints()(Code) | | |
|
|