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 CoverageSlice
s to SimpleFeature
s
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
CoverageSlicesCatalog 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 TypeMethodDescriptionvoid
addGranule
(String typeName, SimpleFeature granule, Transaction transaction) void
addGranules
(String typeName, SimpleFeatureCollection granules, Transaction transaction) void
computeAggregateFunction
(Query query, FeatureCalc function) void
createType
(String identification, String typeSpec) void
createType
(SimpleFeatureType featureType) void
dispose()
protected void
finalize()
getGranules
(Query q) getQueryCapabilities
(String typeName) String[]
boolean
hasTypeName
(String typeName) void
void
removeGranules
(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:
SchemaException
IOException
-
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
-