Class SampleDataAccessFeatureSource
Object
SampleDataAccessFeatureSource
- All Implemented Interfaces:
FeatureSource<FeatureType,Feature>
public class SampleDataAccessFeatureSource
extends Object
implements FeatureSource<FeatureType,Feature>
- Since:
- 2.6
- Author:
- Ben Caradoc-Davies (CSIRO Earth Science and Resource Engineering)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFeatureListener(FeatureListener listener) Unsupported operation.Not yet implemented.Not yet implemented.intNot yet implemented.Not yet implemented.Return aFeatureCollectioncontaining the sample features.getFeatures(Query query) Not yet implemented.getFeatures(Filter filter) Not yet implemented.getInfo()Not yet implemented.getName()Not yet implemented.Not yet implemented.Return feature type.Return an empty list of no hints.voidremoveFeatureListener(FeatureListener listener) Unsupported operation.
-
Constructor Details
-
SampleDataAccessFeatureSource
public SampleDataAccessFeatureSource()
-
-
Method Details
-
addFeatureListener
Unsupported operation.- Specified by:
addFeatureListenerin interfaceFeatureSource<FeatureType,Feature> - Parameters:
listener- the new listener- See Also:
-
getBounds
Not yet implemented.- Specified by:
getBoundsin interfaceFeatureSource<FeatureType,Feature> - Returns:
- The bounding envelope of the feature data; or
nullif the bounds are unknown or too costly to calculate. - Throws:
IOException- on any errors calculating the bounds- See Also:
-
getBounds
Not yet implemented.- Specified by:
getBoundsin interfaceFeatureSource<FeatureType,Feature> - Parameters:
query- the query to select features- Returns:
- The bounding envelope of the feature data; or
nullif the bounds are unknown or too costly to calculate. - Throws:
IOException- on any errors calculating the bounds- See Also:
-
getCount
Not yet implemented.- Specified by:
getCountin interfaceFeatureSource<FeatureType,Feature> - Parameters:
query- the query to select features- Returns:
- the numer of features that would be returned by the
Query; or-1if this cannot be calculated. - Throws:
IOException- if there are errors getting the count- See Also:
-
getDataStore
Not yet implemented.- Specified by:
getDataStorein interfaceFeatureSource<FeatureType,Feature> - Returns:
- the data source providing this
FeatureSource - See Also:
-
getFeatures
Return aFeatureCollectioncontaining the sample features.- Specified by:
getFeaturesin interfaceFeatureSource<FeatureType,Feature> - Returns:
- features retrieved by the
Query - Throws:
IOException- if the underlying data source cannot be accessed.- See Also:
-
getFeatures
Not yet implemented.- Specified by:
getFeaturesin interfaceFeatureSource<FeatureType,Feature> - 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
Not yet implemented.- Specified by:
getFeaturesin interfaceFeatureSource<FeatureType,Feature> - 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:
-
getInfo
Not yet implemented.- Specified by:
getInfoin interfaceFeatureSource<FeatureType,Feature> - See Also:
-
getName
Not yet implemented.- Specified by:
getNamein interfaceFeatureSource<FeatureType,Feature> - Returns:
- the name of the features accessible through this
FeatureSource - See Also:
-
getQueryCapabilities
Not yet implemented.- Specified by:
getQueryCapabilitiesin interfaceFeatureSource<FeatureType,Feature> - Returns:
- the native query capabilities of this
FeatureSource - See Also:
-
getSchema
Return feature type.- Specified by:
getSchemain interfaceFeatureSource<FeatureType,Feature> - Returns:
- the schema that will apply to features retrieved from this
FeatureSource - See Also:
-
getSupportedHints
Return an empty list of no hints.- Specified by:
getSupportedHintsin interfaceFeatureSource<FeatureType,Feature> - Returns:
- a set of
RenderingHints#Keyobjects; may be empty but nevernull - See Also:
-
removeFeatureListener
Unsupported operation.- Specified by:
removeFeatureListenerin interfaceFeatureSource<FeatureType,Feature> - Parameters:
listener- the listener to remove- See Also:
-