Class FeatureIndexGeoPackageResults
java.lang.Object
mil.nga.geopackage.features.index.FeatureIndexGeoPackageResults
- All Implemented Interfaces:
Iterable<FeatureRow>
,FeatureIndexResults
Iterable Feature Index Results to iterate on feature rows
retrieved from GeoPackage index extension results
- Since:
- 1.1.0
-
Constructor Summary
ConstructorDescriptionFeatureIndexGeoPackageResults
(FeatureTableIndex featureTableIndex, long count, CloseableIterator<GeometryIndex> geometryIndices) Constructor -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
FeatureIndexGeoPackageResults
public FeatureIndexGeoPackageResults(FeatureTableIndex featureTableIndex, long count, CloseableIterator<GeometryIndex> geometryIndices) Constructor- Parameters:
featureTableIndex
- feature table indexcount
- countgeometryIndices
- geometry indices
-
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceIterable<FeatureRow>
-
count
public long count()Get the count of results- Specified by:
count
in interfaceFeatureIndexResults
- Returns:
- count
-
close
public void close()Close the results- Specified by:
close
in interfaceFeatureIndexResults
-
ids
Iterable for iterating over feature ids in place of feature rows- Specified by:
ids
in interfaceFeatureIndexResults
- Returns:
- iterable ids
-