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 TypeMethodDescriptionvoid
addFeatureListener
(FeatureListener listener) Unsupported operation.Not yet implemented.Not yet implemented.int
Not yet implemented.Not yet implemented.Return aFeatureCollection
containing 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.void
removeFeatureListener
(FeatureListener listener) Unsupported operation.
-
Constructor Details
-
SampleDataAccessFeatureSource
public SampleDataAccessFeatureSource()
-
-
Method Details
-
addFeatureListener
Unsupported operation.- Specified by:
addFeatureListener
in interfaceFeatureSource<FeatureType,
Feature> - Parameters:
listener
- the new listener- See Also:
-
getBounds
Not yet implemented.- Specified by:
getBounds
in interfaceFeatureSource<FeatureType,
Feature> - Returns:
- The bounding envelope of the feature data; or
null
if 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:
getBounds
in interfaceFeatureSource<FeatureType,
Feature> - Parameters:
query
- the query to select features- Returns:
- The bounding envelope of the feature data; or
null
if 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:
getCount
in interfaceFeatureSource<FeatureType,
Feature> - Parameters:
query
- the query to select features- Returns:
- the numer of features that would be returned by the
Query
; or-1
if this cannot be calculated. - Throws:
IOException
- if there are errors getting the count- See Also:
-
getDataStore
Not yet implemented.- Specified by:
getDataStore
in interfaceFeatureSource<FeatureType,
Feature> - Returns:
- the data source providing this
FeatureSource
- See Also:
-
getFeatures
Return aFeatureCollection
containing the sample features.- Specified by:
getFeatures
in 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:
getFeatures
in 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:
getFeatures
in 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:
getInfo
in interfaceFeatureSource<FeatureType,
Feature> - See Also:
-
getName
Not yet implemented.- Specified by:
getName
in interfaceFeatureSource<FeatureType,
Feature> - Returns:
- the name of the features accessible through this
FeatureSource
- See Also:
-
getQueryCapabilities
Not yet implemented.- Specified by:
getQueryCapabilities
in interfaceFeatureSource<FeatureType,
Feature> - Returns:
- the native query capabilities of this
FeatureSource
- See Also:
-
getSchema
Return feature type.- Specified by:
getSchema
in 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:
getSupportedHints
in interfaceFeatureSource<FeatureType,
Feature> - Returns:
- a set of
RenderingHints#Key
objects; may be empty but nevernull
- See Also:
-
removeFeatureListener
Unsupported operation.- Specified by:
removeFeatureListener
in interfaceFeatureSource<FeatureType,
Feature> - Parameters:
listener
- the listener to remove- See Also:
-