public class ArcGISFeatureReader extends Object implements org.geotools.data.simple.SimpleFeatureReader
| Constructor and Description |
|---|
ArcGISFeatureReader(ArcGISFeatureSource fs,
org.geotools.data.Query query) |
| Modifier and Type | Method and Description |
|---|---|
protected org.opengis.feature.simple.SimpleFeature |
buildFeature(org.json.simple.JSONObject jf) |
void |
close() |
int |
getCount() |
org.geotools.data.simple.SimpleFeatureCollection |
getFeaturesByObjectIds(List ids) |
org.opengis.feature.simple.SimpleFeatureType |
getFeatureType() |
protected void |
getNextBatch() |
String |
getObjectIdFieldName() |
List |
getObjectIds() |
boolean |
hasNext() |
org.opengis.feature.simple.SimpleFeature |
next() |
public ArcGISFeatureReader(ArcGISFeatureSource fs, org.geotools.data.Query query)
public org.opengis.feature.simple.SimpleFeatureType getFeatureType()
getFeatureType in interface org.geotools.data.FeatureReader<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>public int getCount()
throws IOException
IOExceptionpublic List getObjectIds() throws IOException
IOExceptionprotected void getNextBatch()
throws IOException
IOExceptionpublic org.geotools.data.simple.SimpleFeatureCollection getFeaturesByObjectIds(List ids) throws IOException
IOExceptionprotected org.opengis.feature.simple.SimpleFeature buildFeature(org.json.simple.JSONObject jf)
throws IOException
IOExceptionpublic org.opengis.feature.simple.SimpleFeature next()
throws IOException,
IllegalArgumentException,
NoSuchElementException
next in interface org.geotools.data.FeatureReader<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>IOExceptionIllegalArgumentExceptionNoSuchElementExceptionpublic boolean hasNext()
throws IOException
hasNext in interface org.geotools.data.FeatureReader<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface org.geotools.data.FeatureReader<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>IOExceptionpublic String getObjectIdFieldName()
Copyright © 2016. All rights reserved.