Class FeatureIndexListResults
java.lang.Object
mil.nga.geopackage.features.index.FeatureIndexListResults
- All Implemented Interfaces:
Iterable<FeatureRow>
,FeatureIndexResults
Feature Index Results Feature Row list implementation
- Since:
- 2.0.0
-
Constructor Summary
ConstructorDescriptionConstructorConstructorConstructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRow
(FeatureRow row) Add a feature rowvoid
addRows
(List<FeatureRow> rows) Add feature rowsvoid
close()
Close the resultslong
count()
Get the count of resultsids()
Iterable for iterating over feature ids in place of feature rowsiterator()
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
-
FeatureIndexListResults
public FeatureIndexListResults()Constructor -
FeatureIndexListResults
Constructor- Parameters:
row
- feature row
-
FeatureIndexListResults
Constructor- Parameters:
rows
- feature rows
-
-
Method Details
-
addRow
Add a feature row- Parameters:
row
- feature row
-
addRows
Add feature rows- Parameters:
rows
- feature rows
-
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
-
iterator
- Specified by:
iterator
in interfaceIterable<FeatureRow>
-
ids
Iterable for iterating over feature ids in place of feature rows- Specified by:
ids
in interfaceFeatureIndexResults
- Returns:
- iterable ids
-