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 TypeMethodDescriptionvoidcomputeAggregateFunction(Query query, FeatureCalc function) getGranules(Query q) voidremoveGranules(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:
getGranulesin classCoverageSlicesCatalog- Throws:
IOException
-
computeAggregateFunction
- Overrides:
computeAggregateFunctionin classCoverageSlicesCatalog- Throws:
IOException
-
removeGranules
public void removeGranules(String typeName, Filter filter, Transaction transaction) throws IOException - Overrides:
removeGranulesin classCoverageSlicesCatalog- Throws:
IOException
-