Package org.geotools.coverage.io.catalog
Class CoverageSlicesCatalog.WrappedCoverageSlicesCatalog
Object
CoverageSlicesCatalog
WrappedCoverageSlicesCatalog
- Enclosing class:
- CoverageSlicesCatalog
public static class CoverageSlicesCatalog.WrappedCoverageSlicesCatalog
extends CoverageSlicesCatalog
CoverageSlicesCatalog always used an hidden H2 DB to store granules index related to a specific file.
Starting from 14.x it also can be setup on top of a shared PostGIS datastore.
Using a PostGIS shared index, we need to add a LOCATION attribute to distinguish the different granules, as well as add a Filter setting the LOCATION value to each query from a reader (1 reader <-> 1 file <-> 1 location)
-
Nested Class Summary
Nested classes/interfaces inherited from class CoverageSlicesCatalog
CoverageSlicesCatalog.WrappedCoverageSlicesCatalog
-
Field Summary
Fields inherited from class CoverageSlicesCatalog
IMAGE_INDEX_ATTR
-
Constructor Summary
ConstructorsConstructorDescriptionWrappedCoverageSlicesCatalog
(DataStoreConfiguration config, File file, Repository repository) -
Method Summary
Modifier and TypeMethodDescriptionvoid
computeAggregateFunction
(Query query, FeatureCalc function) getGranules
(Query q) void
removeGranules
(String typeName, Filter filter, Transaction transaction) Methods inherited from class CoverageSlicesCatalog
addGranule, addGranules, createType, createType, dispose, finalize, getBounds, getQueryCapabilities, getSchema, getTypeNames, hasTypeName, purge
-
Constructor Details
-
WrappedCoverageSlicesCatalog
public WrappedCoverageSlicesCatalog(DataStoreConfiguration config, File file, Repository repository) throws IOException - Throws:
IOException
-
-
Method Details
-
getGranules
- Overrides:
getGranules
in classCoverageSlicesCatalog
- Throws:
IOException
-
computeAggregateFunction
- Overrides:
computeAggregateFunction
in classCoverageSlicesCatalog
- Throws:
IOException
-
removeGranules
public void removeGranules(String typeName, Filter filter, Transaction transaction) throws IOException - Overrides:
removeGranules
in classCoverageSlicesCatalog
- Throws:
IOException
-