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