|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectDataFeatureCollection
ArcSdeFeatureCollection
public class ArcSdeFeatureCollection
FeatureCollection implementation that works over an ArcSDEFeatureReader
or one of the
decorators over it returned by ArcSDEDataStore#getFeatureReader(Query, Session, boolean)
.
Note this class and the iterators it returns are thread safe.
FeatureCollection
Field Summary |
---|
Fields inherited from class DataFeatureCollection |
---|
id, listeners, schema |
Constructor Summary | |
---|---|
ArcSdeFeatureCollection(ArcSdeFeatureSource featureSource,
SimpleFeatureType queryType,
Query namedQuery)
|
Method Summary | |
---|---|
protected void |
closeIterator(Iterator<SimpleFeature> close)
Overrides to deal with closing the FeatureReaderIterator s created at
openIterator() , as superclass uses another class that does the same but its package
visible (actually I don't see the point on two versions of FeatureReaderIterator?) |
ReferencedEnvelope |
getBounds()
Get the total bounds of this collection which is calculated by doing a union of the bounds of each feature inside of it |
int |
getCount()
|
SimpleFeatureType |
getSchema()
The schema for the child feature members of this collection. |
protected Iterator<SimpleFeature> |
openIterator()
Overrides to avoid the superclass' call to DataFeatureCollection.writer() and it's
UnsupportedOperationException |
FeatureReader<SimpleFeatureType,SimpleFeature> |
reader()
|
Methods inherited from class DataFeatureCollection |
---|
accepts, add, addAll, addAll, addListener, clear, close, close, contains, containsAll, features, fireChange, fireChange, fireChange, getID, isEmpty, iterator, purge, remove, removeAll, removeListener, retainAll, size, sort, sort, subCollection, toArray, toArray, writer |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArcSdeFeatureCollection(ArcSdeFeatureSource featureSource, SimpleFeatureType queryType, Query namedQuery) throws IOException
IOException
Method Detail |
---|
public final SimpleFeatureType getSchema()
FeatureCollection
Represents the most general FeatureType in common to all the features in this collection.
getSchema
in interface FeatureCollection<SimpleFeatureType,SimpleFeature>
getSchema
in class DataFeatureCollection
FeatureCollection.getSchema()
public final ReferencedEnvelope getBounds()
FeatureCollection
getBounds
in interface FeatureCollection<SimpleFeatureType,SimpleFeature>
getBounds
in class DataFeatureCollection
FeatureCollection.getBounds()
public final int getCount() throws IOException
getCount
in class DataFeatureCollection
IOException
public FeatureReader<SimpleFeatureType,SimpleFeature> reader() throws IOException
reader
in class DataFeatureCollection
IOException
protected Iterator<SimpleFeature> openIterator() throws IOException
DataFeatureCollection.writer()
and it's
UnsupportedOperationException
openIterator
in class DataFeatureCollection
IOException
protected void closeIterator(Iterator<SimpleFeature> close) throws IOException
FeatureReaderIterator
s created at
openIterator()
, as superclass uses another class that does the same but its package
visible (actually I don't see the point on two versions of FeatureReaderIterator?)
closeIterator
in class DataFeatureCollection
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |