org.geotools.data
Class SampleDataAccessFeatureSource

Object
  extended by SampleDataAccessFeatureSource
All Implemented Interfaces:
FeatureSource<FeatureType,Feature>

public class SampleDataAccessFeatureSource
extends Object
implements FeatureSource<FeatureType,Feature>

FeatureSource for SampleDataAccess.

Since:
2.6
Author:
Ben Caradoc-Davies (CSIRO Earth Science and Resource Engineering)

Constructor Summary
SampleDataAccessFeatureSource()
           
 
Method Summary
 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.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleDataAccessFeatureSource

public SampleDataAccessFeatureSource()
Method Detail

addFeatureListener

public void addFeatureListener(FeatureListener listener)
Unsupported operation.

Specified by:
addFeatureListener in interface FeatureSource<FeatureType,Feature>
Parameters:
listener - the new listener
See Also:
FeatureSource.addFeatureListener(org.geotools.data.FeatureListener)

getBounds

public ReferencedEnvelope getBounds()
                             throws IOException
Not yet implemented.

Specified by:
getBounds in interface FeatureSource<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:
FeatureSource.getBounds()

getBounds

public ReferencedEnvelope getBounds(Query query)
                             throws IOException
Not yet implemented.

Specified by:
getBounds in interface FeatureSource<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:
FeatureSource.getBounds(org.geotools.data.Query)

getCount

public int getCount(Query query)
             throws IOException
Not yet implemented.

Specified by:
getCount in interface FeatureSource<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:
FeatureSource.getCount(org.geotools.data.Query)

getDataStore

public DataAccess<FeatureType,Feature> getDataStore()
Not yet implemented.

Specified by:
getDataStore in interface FeatureSource<FeatureType,Feature>
Returns:
the data source providing this FeatureSource
See Also:
FeatureSource.getDataStore()

getFeatures

public FeatureCollection<FeatureType,Feature> getFeatures()
                                                   throws IOException
Return a FeatureCollection containing the sample features.

Specified by:
getFeatures in interface FeatureSource<FeatureType,Feature>
Returns:
features retrieved by the Query
Throws:
IOException - if the underlying data source cannot be accessed.
See Also:
FeatureSource.getFeatures()

getFeatures

public FeatureCollection<FeatureType,Feature> getFeatures(Filter filter)
                                                   throws IOException
Not yet implemented.

Specified by:
getFeatures in interface FeatureSource<FeatureType,Feature>
Parameters:
filter - the filter to select features; must not be null (use Filter.INCLUDE instead)
Returns:
features retrieved by the Filter
Throws:
IOException - if the underlying data source cannot be accessed.
See Also:
FeatureSource.getFeatures(org.opengis.filter.Filter)

getFeatures

public FeatureCollection<FeatureType,Feature> getFeatures(Query query)
                                                   throws IOException
Not yet implemented.

Specified by:
getFeatures in interface FeatureSource<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:
FeatureSource.getFeatures(org.geotools.data.Query)

getInfo

public ResourceInfo getInfo()
Not yet implemented.

Specified by:
getInfo in interface FeatureSource<FeatureType,Feature>
See Also:
FeatureSource.getInfo()

getName

public Name getName()
Not yet implemented.

Specified by:
getName in interface FeatureSource<FeatureType,Feature>
Returns:
the name of the features accessible through this FeatureSource
See Also:
FeatureSource.getName()

getQueryCapabilities

public QueryCapabilities getQueryCapabilities()
Not yet implemented.

Specified by:
getQueryCapabilities in interface FeatureSource<FeatureType,Feature>
Returns:
the native query capabilities of this FeatureSource
See Also:
FeatureSource.getQueryCapabilities()

getSchema

public FeatureType getSchema()
Return feature type.

Specified by:
getSchema in interface FeatureSource<FeatureType,Feature>
Returns:
the schema that will apply to features retrieved from this FeatureSource
See Also:
FeatureSource.getSchema()

getSupportedHints

public Set<RenderingHints.Key> getSupportedHints()
Return an empty list of no hints.

Specified by:
getSupportedHints in interface FeatureSource<FeatureType,Feature>
Returns:
a set of RenderingHints#Key objects; may be empty but never null
See Also:
FeatureSource.getSupportedHints()

removeFeatureListener

public void removeFeatureListener(FeatureListener listener)
Unsupported operation.

Specified by:
removeFeatureListener in interface FeatureSource<FeatureType,Feature>
Parameters:
listener - the listener to remove
See Also:
FeatureSource.removeFeatureListener(org.geotools.data.FeatureListener)


Copyright © 1996-2014 Geotools. All Rights Reserved.