Class FeatureIndexFeatureResults
- java.lang.Object
-
- mil.nga.geopackage.features.index.FeatureIndexFeatureResults
-
- All Implemented Interfaces:
Iterable<FeatureRow>
,FeatureIndexResults
public class FeatureIndexFeatureResults extends Object implements FeatureIndexResults
Iterable Feature Index Results to iterate on feature results from a feature DAO- Since:
- 3.1.0
- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description FeatureIndexFeatureResults(FeatureResultSet resultSet)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Close the resultslong
count()
Get the count of resultsFeatureResultSet
getResultSet()
Get the result setIterable<Long>
ids()
Iterable for iterating over feature ids in place of feature rowsIterator<FeatureRow>
iterator()
-
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 Detail
-
FeatureIndexFeatureResults
public FeatureIndexFeatureResults(FeatureResultSet resultSet)
Constructor- Parameters:
resultSet
- result set
-
-
Method Detail
-
iterator
public Iterator<FeatureRow> iterator()
- Specified by:
iterator
in interfaceIterable<FeatureRow>
-
getResultSet
public FeatureResultSet getResultSet()
Get the result set- Returns:
- feature result set
- Since:
- 6.2.0
-
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
public Iterable<Long> ids()
Iterable for iterating over feature ids in place of feature rows- Specified by:
ids
in interfaceFeatureIndexResults
- Returns:
- iterable ids
-
-