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
ConstructorsConstructorDescriptionConstructorConstructorConstructor -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRow(FeatureRow row) Add a feature rowvoidaddRows(List<FeatureRow> rows) Add feature rowsvoidclose()Close the resultslongcount()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, waitMethods 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:
countin interfaceFeatureIndexResults- Returns:
- count
-
close
public void close()Close the results- Specified by:
closein interfaceFeatureIndexResults
-
iterator
- Specified by:
iteratorin interfaceIterable<FeatureRow>
-
ids
Iterable for iterating over feature ids in place of feature rows- Specified by:
idsin interfaceFeatureIndexResults- Returns:
- iterable ids
-