|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.AbstractFeatureSource
org.geotools.data.AbstractFeatureStore
org.geotools.data.AbstractFeatureLocking
org.geotools.data.property.PropertyFeatureSource
public class PropertyFeatureSource
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.geotools.data.FeatureLocking |
---|
FeatureLocking.Response |
Field Summary |
---|
Fields inherited from class org.geotools.data.AbstractFeatureStore |
---|
transaction |
Fields inherited from class org.geotools.data.AbstractFeatureSource |
---|
hints, queryCapabilities |
Method Summary | |
---|---|
void |
addFeatureListener(FeatureListener listener)
Adds a listener to the list that's notified each time a change to the FeatureStore occurs. |
ReferencedEnvelope |
getBounds()
Retrieve Bounds of all Features. |
int |
getCount(Query query)
Retrieve total number of Query results. |
DataStore |
getDataStore()
Overrides to explicitly type narrow the return type to DataStore |
org.opengis.feature.simple.SimpleFeatureType |
getSchema()
Retrieves the featureType that features extracted from this datasource will be created with. |
void |
removeFeatureListener(FeatureListener listener)
Removes a listener from the list that's notified each time a change to the FeatureStore occurs. |
Methods inherited from class org.geotools.data.AbstractFeatureLocking |
---|
lockFeatures, lockFeatures, lockFeatures, setFeatureLock, unLockFeatures, unLockFeatures, unLockFeatures |
Methods inherited from class org.geotools.data.AbstractFeatureStore |
---|
addFeatures, addFeatures, getTransaction, modifyFeatures, modifyFeatures, removeFeatures, setFeatures, setTransaction |
Methods inherited from class org.geotools.data.AbstractFeatureSource |
---|
getBounds, getFeatures, getFeatures, getFeatures, getInfo, getName, getQueryCapabilities, getSupportedHints, namedQuery |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.geotools.data.FeatureStore |
---|
addFeatures, getTransaction, modifyFeatures, modifyFeatures, removeFeatures, setFeatures, setTransaction |
Methods inherited from interface org.geotools.data.FeatureSource |
---|
getBounds, getFeatures, getFeatures, getFeatures, getInfo, getName, getQueryCapabilities, getSupportedHints |
Method Detail |
---|
public DataStore getDataStore()
AbstractFeatureSource
DataStore
getDataStore
in interface FeatureSource<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>
getDataStore
in class AbstractFeatureSource
public void addFeatureListener(FeatureListener listener)
FeatureSource
listener
- FeatureListenerpublic void removeFeatureListener(FeatureListener listener)
FeatureSource
listener
- FeatureListenerpublic org.opengis.feature.simple.SimpleFeatureType getSchema()
FeatureSource
The schema returned is the LCD supported by all available Features. In the common case of shapfiles and database table this schema will match that of every feature available. In the degenerate GML case this will simply reflect the gml:AbstractFeatureType.
public int getCount(Query query)
AbstractFeatureSource
Currently returns -1, consider getFeatures( query ).getCount() instead.
Subclasses may override this method to perform the appropriate optimization for this result.
getCount
in interface FeatureSource<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>
getCount
in class AbstractFeatureSource
query
- Query we are requesting the count of
public ReferencedEnvelope getBounds()
AbstractFeatureSource
Currently returns null, consider getFeatures().getBounds() instead.
Subclasses may override this method to perform the appropriate optimization for this result.
getBounds
in interface FeatureSource<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>
getBounds
in class AbstractFeatureSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |