Package mil.nga.geopackage.features.user
Class ManualFeatureQueryResults
java.lang.Object
mil.nga.geopackage.features.user.ManualFeatureQueryResults
- All Implemented Interfaces:
- Iterable<FeatureRow>,- FeatureIndexResults
Manual Feature Query Results which includes the ids used to read each row
- Since:
- 3.1.0
- 
Constructor SummaryConstructorsConstructorDescriptionManualFeatureQueryResults(FeatureDao featureDao, String[] columns, List<Long> featureIds) ConstructorManualFeatureQueryResults(FeatureDao featureDao, List<Long> featureIds) Constructor
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Constructor Details- 
ManualFeatureQueryResultsConstructor- Parameters:
- featureDao- feature DAO
- featureIds- feature ids
 
- 
ManualFeatureQueryResultsConstructor- Parameters:
- featureDao- feature DAO
- columns- columns
- featureIds- feature ids
- Since:
- 3.5.0
 
 
- 
- 
Method Details- 
getFeatureDaoGet the feature DAO- Returns:
- feature DAO
 
- 
getColumnsGet the feature columns- Returns:
- columns
- Since:
- 3.5.0
 
- 
getFeatureIdsGet the feature ids- Returns:
- feature ids
 
- 
iterator- Specified by:
- iteratorin interface- Iterable<FeatureRow>
 
- 
countpublic long count()Get the count of results- Specified by:
- countin interface- FeatureIndexResults
- Returns:
- count
 
- 
closepublic void close()Close the results- Specified by:
- closein interface- FeatureIndexResults
 
- 
idsIterable for iterating over feature ids in place of feature rows- Specified by:
- idsin interface- FeatureIndexResults
- Returns:
- iterable ids
 
 
-