|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SimpleFeatureStore
Method Summary | |
---|---|
SimpleFeatureCollection |
getFeatures()
Retrieves all features in the form of a FeatureCollection . |
SimpleFeatureCollection |
getFeatures(Filter filter)
Retrieves features, in the form of a FeatureCollection , based
on an OGC Filter . |
SimpleFeatureCollection |
getFeatures(Query query)
Retrieves features, in the form of a FeatureCollection , based
on a Query . |
void |
modifyFeatures(String[] names,
Object[] attributeValues,
Filter filter)
|
void |
modifyFeatures(String name,
Object attributeValue,
Filter filter)
|
Methods inherited from interface FeatureStore |
---|
addFeatures, getTransaction, modifyFeatures, modifyFeatures, modifyFeatures, modifyFeatures, removeFeatures, setFeatures, setTransaction |
Methods inherited from interface FeatureSource |
---|
addFeatureListener, getBounds, getBounds, getCount, getDataStore, getInfo, getName, getQueryCapabilities, getSchema, getSupportedHints, removeFeatureListener |
Method Detail |
---|
void modifyFeatures(String name, Object attributeValue, Filter filter) throws IOException
IOException
void modifyFeatures(String[] names, Object[] attributeValues, Filter filter) throws IOException
IOException
SimpleFeatureCollection getFeatures() throws IOException
FeatureSource
FeatureCollection
.
The following statements are equivalent:
featureSource.getFeatures();
featureSource.getFeatures(Filter.INCLUDE);
featureSource.getFeatures(Query.ALL);
getFeatures
in interface FeatureSource<SimpleFeatureType,SimpleFeature>
getFeatures
in interface SimpleFeatureSource
Query
IOException
- if the underlying data source cannot be accessed.SimpleFeatureCollection getFeatures(Filter filter) throws IOException
FeatureSource
FeatureCollection
, based
on an OGC Filter
.
getFeatures
in interface FeatureSource<SimpleFeatureType,SimpleFeature>
getFeatures
in interface SimpleFeatureSource
filter
- the filter to select features; must not be null
(use Filter.INCLUDE instead)
Filter
IOException
- if the underlying data source cannot be accessed.Filter
SimpleFeatureCollection getFeatures(Query query) throws IOException
FeatureSource
FeatureCollection
, based
on a Query
.
getFeatures
in interface FeatureSource<SimpleFeatureType,SimpleFeature>
getFeatures
in interface SimpleFeatureSource
query
- DataAccess query for requested information, such as typeName,
maxFeatures and filter.
Query
IOException
- if the underlying data source cannot be accessed.Query
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |