public class CoverageSlicesCatalog extends Object
TODO: we may consider converting CoverageSlice
s to SimpleFeature
s
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
IOException
public void addGranules(String typeName, SimpleFeatureCollection granules, Transaction transaction) throws IOException
IOException
public List<CoverageSlice> getGranules(Query q) throws IOException
IOException
public ReferencedEnvelope getBounds(String typeName)
public void createType(SimpleFeatureType featureType) throws IOException
IOException
public void createType(String identification, String typeSpec) throws SchemaException, IOException
SchemaException
IOException
public SimpleFeatureType getSchema(String typeName) throws IOException
IOException
public void computeAggregateFunction(Query query, FeatureCalc function) throws IOException
IOException
public QueryCapabilities getQueryCapabilities(String typeName)
protected void finalize() throws Throwable
public void removeGranules(String typeName, Filter filter, Transaction transaction) throws IOException
IOException
public void purge(Filter filter) throws IOException
IOException
Copyright © 1996–2019 Geotools. All rights reserved.