public class CoverageSlicesCatalog extends Object
TODO: we may consider converting CoverageSlices to SimpleFeatures
| Modifier and Type | Class and Description |
|---|---|
static class |
CoverageSlicesCatalog.WrappedCoverageSlicesCatalog
CoverageSlicesCatalog always used an hidden H2 DB to store granules index related to a
specific file.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
IMAGE_INDEX_ATTR |
| Constructor and Description |
|---|
CoverageSlicesCatalog(DataStoreConfiguration datastoreConfig) |
CoverageSlicesCatalog(DataStoreConfiguration datastoreConfig,
Repository repository) |
CoverageSlicesCatalog(String database,
File parentLocation) |
CoverageSlicesCatalog(String database,
File parentLocation,
Repository repository) |
| Modifier and Type | Method and Description |
|---|---|
void |
addGranule(String typeName,
SimpleFeature granule,
Transaction transaction) |
void |
addGranules(String typeName,
SimpleFeatureCollection granules,
Transaction transaction) |
void |
computeAggregateFunction(Query query,
FeatureCalc function) |
void |
createType(SimpleFeatureType featureType) |
void |
createType(String identification,
String typeSpec) |
void |
dispose() |
protected void |
finalize() |
ReferencedEnvelope |
getBounds(String typeName) |
List<CoverageSlice> |
getGranules(Query q) |
QueryCapabilities |
getQueryCapabilities(String typeName) |
SimpleFeatureType |
getSchema(String typeName) |
String[] |
getTypeNames() |
boolean |
hasTypeName(String typeName) |
void |
purge(Filter filter) |
void |
removeGranules(String typeName,
Filter filter,
Transaction transaction) |
public static final String IMAGE_INDEX_ATTR
public CoverageSlicesCatalog(String database, File parentLocation, Repository repository)
public CoverageSlicesCatalog(DataStoreConfiguration datastoreConfig)
public CoverageSlicesCatalog(DataStoreConfiguration datastoreConfig, Repository repository)
public String[] getTypeNames()
public boolean hasTypeName(String typeName)
public void dispose()
public void addGranule(String typeName, SimpleFeature granule, Transaction transaction) throws IOException
IOExceptionpublic void addGranules(String typeName, SimpleFeatureCollection granules, Transaction transaction) throws IOException
IOExceptionpublic List<CoverageSlice> getGranules(Query q) throws IOException
IOExceptionpublic ReferencedEnvelope getBounds(String typeName)
public void createType(SimpleFeatureType featureType) throws IOException
IOExceptionpublic void createType(String identification, String typeSpec) throws SchemaException, IOException
SchemaExceptionIOExceptionpublic SimpleFeatureType getSchema(String typeName) throws IOException
IOExceptionpublic void computeAggregateFunction(Query query, FeatureCalc function) throws IOException
IOExceptionpublic QueryCapabilities getQueryCapabilities(String typeName)
protected void finalize()
throws Throwable
public void removeGranules(String typeName, Filter filter, Transaction transaction) throws IOException
IOExceptionpublic void purge(Filter filter) throws IOException
IOExceptionCopyright © 1996–2019 Geotools. All rights reserved.