code: public FeatureIndexResults query() {
  		FeatureIndexResults results = null;
  		switch (getIndexedType()) {
  		case GEOPACKAGE:
  			long count = featureTableIndex.count();
  			CloseableIterator<GeometryIndex> geometryIndices = featureTableIndex
  					.query();
  			results = new FeatureIndexGeoPackageResults(featureTableIndex,
  					count, geometryIndices);
  			break;
  		case RTREE:
  			UserCustomResultSet resultSet = rTreeIndexTableDao.queryForAll();
  			results = new FeatureIndexRTreeResults(rTreeIndexTableDao,
  					resultSet);
  			break;
  		default:
  			FeatureResultSet featureResultSet = featureDao.queryForAll();
  			results = new FeatureIndexFeatureResults(featureResultSet);
  		}
  		return results;
  	}
docs: Query for all feature index results
  
  @return feature index results, close when done