public class SampleDataAccessFeatureSource extends Object implements FeatureSource<FeatureType,Feature>
| Constructor and Description |
|---|
SampleDataAccessFeatureSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFeatureListener(FeatureListener listener)
Unsupported operation.
|
ReferencedEnvelope |
getBounds()
Not yet implemented.
|
ReferencedEnvelope |
getBounds(Query query)
Not yet implemented.
|
int |
getCount(Query query)
Not yet implemented.
|
DataAccess<FeatureType,Feature> |
getDataStore()
Not yet implemented.
|
FeatureCollection<FeatureType,Feature> |
getFeatures()
Return a
FeatureCollection containing the sample features. |
FeatureCollection<FeatureType,Feature> |
getFeatures(Filter filter)
Not yet implemented.
|
FeatureCollection<FeatureType,Feature> |
getFeatures(Query query)
Not yet implemented.
|
ResourceInfo |
getInfo()
Not yet implemented.
|
Name |
getName()
Not yet implemented.
|
QueryCapabilities |
getQueryCapabilities()
Not yet implemented.
|
FeatureType |
getSchema()
Return feature type.
|
Set<RenderingHints.Key> |
getSupportedHints()
Return an empty list of no hints.
|
void |
removeFeatureListener(FeatureListener listener)
Unsupported operation.
|
public void addFeatureListener(FeatureListener listener)
addFeatureListener in interface FeatureSource<FeatureType,Feature>listener - the new listenerFeatureSource.addFeatureListener(org.geotools.data.FeatureListener)public ReferencedEnvelope getBounds() throws IOException
getBounds in interface FeatureSource<FeatureType,Feature>null if the bounds are unknown
or too costly to calculate.IOException - on any errors calculating the boundsFeatureSource.getBounds()public ReferencedEnvelope getBounds(Query query) throws IOException
getBounds in interface FeatureSource<FeatureType,Feature>query - the query to select featuresnull if the bounds are unknown
or too costly to calculate.IOException - on any errors calculating the boundsFeatureSource.getBounds(org.geotools.data.Query)public int getCount(Query query) throws IOException
getCount in interface FeatureSource<FeatureType,Feature>query - the query to select featuresQuery;
or -1 if this cannot be calculated.IOException - if there are errors getting the countFeatureSource.getCount(org.geotools.data.Query)public DataAccess<FeatureType,Feature> getDataStore()
getDataStore in interface FeatureSource<FeatureType,Feature>FeatureSourceFeatureSource.getDataStore()public FeatureCollection<FeatureType,Feature> getFeatures() throws IOException
FeatureCollection containing the sample features.getFeatures in interface FeatureSource<FeatureType,Feature>QueryIOException - if the underlying data source cannot be accessed.FeatureSource.getFeatures()public FeatureCollection<FeatureType,Feature> getFeatures(Filter filter) throws IOException
getFeatures in interface FeatureSource<FeatureType,Feature>filter - the filter to select features; must not be null (use Filter.INCLUDE instead)FilterIOException - if the underlying data source cannot be accessed.FeatureSource.getFeatures(org.opengis.filter.Filter)public FeatureCollection<FeatureType,Feature> getFeatures(Query query) throws IOException
getFeatures in interface FeatureSource<FeatureType,Feature>query - DataAccess query for requested information, such as typeName, maxFeatures and
filter.QueryIOException - if the underlying data source cannot be accessed.FeatureSource.getFeatures(org.geotools.data.Query)public ResourceInfo getInfo()
getInfo in interface FeatureSource<FeatureType,Feature>FeatureSource.getInfo()public Name getName()
getName in interface FeatureSource<FeatureType,Feature>FeatureSourceFeatureSource.getName()public QueryCapabilities getQueryCapabilities()
getQueryCapabilities in interface FeatureSource<FeatureType,Feature>FeatureSourceFeatureSource.getQueryCapabilities()public FeatureType getSchema()
getSchema in interface FeatureSource<FeatureType,Feature>FeatureSourceFeatureSource.getSchema()public Set<RenderingHints.Key> getSupportedHints()
getSupportedHints in interface FeatureSource<FeatureType,Feature>RenderingHints#Key objects; may be empty but never nullFeatureSource.getSupportedHints()public void removeFeatureListener(FeatureListener listener)
removeFeatureListener in interface FeatureSource<FeatureType,Feature>listener - the listener to removeFeatureSource.removeFeatureListener(org.geotools.data.FeatureListener)Copyright © 1996–2019 Geotools. All rights reserved.