Package org.geotools.api.data
Interface SimpleFeatureStore
- All Superinterfaces:
FeatureSource<SimpleFeatureType,,SimpleFeature> FeatureStore<SimpleFeatureType,,SimpleFeature> SimpleFeatureSource
- All Known Subinterfaces:
SimpleFeatureLocking
- All Known Implementing Classes:
ContentFeatureStore,CSVFeatureStore,DirectoryFeatureLocking,DirectoryFeatureStore,GeoJSONFeatureStore,JDBCFeatureStore,MemoryFeatureStore,MongoFeatureStore,OracleTransformFeatureStore,PostgisTransformFeatureStore,PropertyFeatureStore,SQLServerTransformFeatureStore,TransformFeatureLocking,TransformFeatureStore
public interface SimpleFeatureStore
extends FeatureStore<SimpleFeatureType,SimpleFeature>, SimpleFeatureSource
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves all features in the form of aFeatureCollection.getFeatures(Query query) Retrieves features, in the form of aFeatureCollection, based on aQuery.getFeatures(Filter filter) Retrieves features, in the form of aFeatureCollection, based on an OGCFilter.voidmodifyFeatures(String[] names, Object[] attributeValues, Filter filter) voidmodifyFeatures(String name, Object attributeValue, Filter filter) Methods inherited from interface FeatureSource
addFeatureListener, getBounds, getBounds, getCount, getDataStore, getInfo, getName, getQueryCapabilities, getSchema, getSupportedHints, removeFeatureListenerMethods inherited from interface FeatureStore
addFeatures, getTransaction, modifyFeatures, modifyFeatures, removeFeatures, setFeatures, setTransaction
-
Method Details
-
modifyFeatures
- Throws:
IOException
-
modifyFeatures
- Throws:
IOException
-
getFeatures
Description copied from interface:FeatureSourceRetrieves all features in the form of aFeatureCollection.The following statements are equivalent:
featureSource.getFeatures(); featureSource.getFeatures(Filter.INCLUDE); featureSource.getFeatures(Query.ALL);- Specified by:
getFeaturesin interfaceFeatureSource<SimpleFeatureType,SimpleFeature> - Specified by:
getFeaturesin interfaceSimpleFeatureSource- Returns:
- features retrieved by the
Query - Throws:
IOException- if the underlying data source cannot be accessed.
-
getFeatures
Description copied from interface:FeatureSourceRetrieves features, in the form of aFeatureCollection, based on an OGCFilter.- Specified by:
getFeaturesin interfaceFeatureSource<SimpleFeatureType,SimpleFeature> - Specified by:
getFeaturesin interfaceSimpleFeatureSource- Parameters:
filter- the filter to select features; must not benull(use Filter.INCLUDE instead)- Returns:
- features retrieved by the
Filter - Throws:
IOException- if the underlying data source cannot be accessed.- See Also:
-
getFeatures
Description copied from interface:FeatureSourceRetrieves features, in the form of aFeatureCollection, based on aQuery.- Specified by:
getFeaturesin interfaceFeatureSource<SimpleFeatureType,SimpleFeature> - Specified by:
getFeaturesin interfaceSimpleFeatureSource- Parameters:
query- DataAccess query for requested information, such as typeName, maxFeatures and filter.- Returns:
- features retrieved by the
Query - Throws:
IOException- if the underlying data source cannot be accessed.- See Also:
-