Package org.geotools.coverage.io.catalog
Class CoverageSlicesCatalog
Object
CoverageSlicesCatalog
- Direct Known Subclasses:
CoverageSlicesCatalog.WrappedCoverageSlicesCatalog
This class simply builds an index for fast indexed queries.
TODO: we may consider converting CoverageSlices to SimpleFeatures
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCoverageSlicesCatalog always used an hidden H2 DB to store granules index related to a specific file. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCoverageSlicesCatalog(String database, File parentLocation) CoverageSlicesCatalog(String database, File parentLocation, Repository repository) CoverageSlicesCatalog(DataStoreConfiguration datastoreConfig) CoverageSlicesCatalog(DataStoreConfiguration datastoreConfig, Repository repository) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGranule(String typeName, SimpleFeature granule, Transaction transaction) voidaddGranules(String typeName, SimpleFeatureCollection granules, Transaction transaction) voidcomputeAggregateFunction(Query query, FeatureCalc function) voidcreateType(String identification, String typeSpec) voidcreateType(SimpleFeatureType featureType) voiddispose()protected voidfinalize()getGranules(Query q) getQueryCapabilities(String typeName) String[]booleanhasTypeName(String typeName) voidvoidremoveGranules(String typeName, Filter filter, Transaction transaction)
-
Field Details
-
IMAGE_INDEX_ATTR
- See Also:
-
-
Constructor Details
-
CoverageSlicesCatalog
-
CoverageSlicesCatalog
-
CoverageSlicesCatalog
-
CoverageSlicesCatalog
-
-
Method Details
-
getTypeNames
-
hasTypeName
-
dispose
public void dispose() -
addGranule
public void addGranule(String typeName, SimpleFeature granule, Transaction transaction) throws IOException - Throws:
IOException
-
addGranules
public void addGranules(String typeName, SimpleFeatureCollection granules, Transaction transaction) throws IOException - Throws:
IOException
-
getGranules
- Throws:
IOException
-
getBounds
-
createType
- Throws:
IOException
-
createType
- Throws:
SchemaExceptionIOException
-
getSchema
- Throws:
IOException
-
computeAggregateFunction
- Throws:
IOException
-
getQueryCapabilities
-
finalize
-
removeGranules
public void removeGranules(String typeName, Filter filter, Transaction transaction) throws IOException - Throws:
IOException
-
purge
- Throws:
IOException
-