Class GeoNamesCatalogIndexer
java.lang.Object
org.codice.ddf.spatial.geocoding.index.GeoNamesCatalogIndexer
- All Implemented Interfaces:
org.codice.ddf.spatial.geocoding.GeoEntryIndexer
public class GeoNamesCatalogIndexer
extends Object
implements org.codice.ddf.spatial.geocoding.GeoEntryIndexer
-
Constructor Summary
ConstructorsConstructorDescriptionGeoNamesCatalogIndexer(ddf.catalog.CatalogFramework catalogFramework, org.codice.ddf.platform.util.uuidgenerator.UuidGenerator uuidGenerator, ddf.catalog.data.MetacardType metacardType, ddf.catalog.filter.FilterBuilder filterBuilder, List<ddf.catalog.source.CatalogProvider> catalogProviders) -
Method Summary
Modifier and TypeMethodDescriptionvoidupdateIndex(String resource, org.codice.ddf.spatial.geocoding.GeoEntryExtractor geoEntryExtractor, boolean create, org.codice.ddf.spatial.geocoding.ProgressCallback progressCallback) voidupdateIndex(List<org.codice.ddf.spatial.geocoding.GeoEntry> newEntries, boolean create, org.codice.ddf.spatial.geocoding.ProgressCallback progressCallback, String resource)
-
Constructor Details
-
GeoNamesCatalogIndexer
public GeoNamesCatalogIndexer(ddf.catalog.CatalogFramework catalogFramework, org.codice.ddf.platform.util.uuidgenerator.UuidGenerator uuidGenerator, ddf.catalog.data.MetacardType metacardType, ddf.catalog.filter.FilterBuilder filterBuilder, List<ddf.catalog.source.CatalogProvider> catalogProviders)
-
-
Method Details
-
updateIndex
public void updateIndex(String resource, org.codice.ddf.spatial.geocoding.GeoEntryExtractor geoEntryExtractor, boolean create, org.codice.ddf.spatial.geocoding.ProgressCallback progressCallback) throws org.codice.ddf.spatial.geocoding.GeoEntryIndexingException, org.codice.ddf.spatial.geocoding.GeoEntryExtractionException, org.codice.ddf.spatial.geocoding.GeoNamesRemoteDownloadException - Specified by:
updateIndexin interfaceorg.codice.ddf.spatial.geocoding.GeoEntryIndexer- Throws:
org.codice.ddf.spatial.geocoding.GeoEntryIndexingExceptionorg.codice.ddf.spatial.geocoding.GeoEntryExtractionExceptionorg.codice.ddf.spatial.geocoding.GeoNamesRemoteDownloadException
-
updateIndex
public void updateIndex(List<org.codice.ddf.spatial.geocoding.GeoEntry> newEntries, boolean create, org.codice.ddf.spatial.geocoding.ProgressCallback progressCallback, String resource) throws org.codice.ddf.spatial.geocoding.GeoEntryIndexingException - Specified by:
updateIndexin interfaceorg.codice.ddf.spatial.geocoding.GeoEntryIndexer- Throws:
org.codice.ddf.spatial.geocoding.GeoEntryIndexingException
-