public class SimpleFeatureResultSet extends Object implements ResultSet
CloseableIterator.Empty<E>, CloseableIterator.Wrapper<E>
Constructor and Description |
---|
SimpleFeatureResultSet(List<Selector> selectors,
CloseableIterator<org.opengis.feature.simple.SimpleFeature> features,
org.opengis.feature.simple.SimpleFeatureType featureType) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
columnCount() |
String |
columnName(int index) |
Class<?> |
columnType(int index) |
org.opengis.feature.simple.SimpleFeatureType |
featureType() |
org.opengis.referencing.crs.CoordinateReferenceSystem |
getCRS() |
boolean |
hasNext() |
Result |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public SimpleFeatureResultSet(List<Selector> selectors, CloseableIterator<org.opengis.feature.simple.SimpleFeature> features, org.opengis.feature.simple.SimpleFeatureType featureType)
selectors
- the columns to select from the featuresfeatures
- the feature resultsfeatureType
- the feature type of the featurespublic void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface CloseableIterator<Result>
public int columnCount()
columnCount
in interface ResultSet
public String columnName(int index)
columnName
in interface ResultSet
index
- the index of the columnpublic Class<?> columnType(int index)
columnType
in interface ResultSet
index
- the index of the columnpublic org.opengis.feature.simple.SimpleFeatureType featureType()
Copyright © 2013–2020. All rights reserved.