Package org.geotools.coverage.grid.io
Class RenamingGranuleSource
Object
RenamingGranuleSource
- All Implemented Interfaces:
- GranuleSource
- Direct Known Subclasses:
- RenamingGranuleStore
GranuleSource wrapper exposing a different type name- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final GranuleSourceprotected final Stringprotected final SimpleFeatureTypeFields inherited from interface GranuleSourceFILE_VIEW, FILES, NATIVE_BOUNDS, NATIVE_BOUNDS_KEY
- 
Constructor SummaryConstructorsConstructorDescriptionRenamingGranuleSource(String name, GranuleSource delegate) Builds aRenamingGranuleSource
- 
Method SummaryModifier and TypeMethodDescriptionvoiddispose()This will free/release any resource (cached granules, ...).Get the spatial bounds of the granules that would be returned by the givenQuery.intGets the number of the granules that would be returned by the givenQuery, taking into account any settings for max features and start index set on theQuery.getGranules(Query q) Retrieves granules, in the form of aSimpleFeatureCollection, based on aQuery.Retrieves the schema (feature type) that will apply to granules retrieved from thisGranuleSource.protected QueryrenameQuery(Query q) Methods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GranuleSourcegetSupportedHints
- 
Field Details- 
name
- 
delegate
- 
schema
 
- 
- 
Constructor Details- 
RenamingGranuleSourceBuilds aRenamingGranuleSource- Parameters:
- name- The new type name
- delegate- The delegate to be wrapped
 
 
- 
- 
Method Details- 
getGranulesDescription copied from interface:GranuleSourceRetrieves granules, in the form of aSimpleFeatureCollection, based on aQuery.- Specified by:
- getGranulesin interface- GranuleSource
- Parameters:
- q- the- Queryto select granules
- Returns:
- the resulting granules.
- Throws:
- IOException
 
- 
renameQuery
- 
getCountDescription copied from interface:GranuleSourceGets the number of the granules that would be returned by the givenQuery, taking into account any settings for max features and start index set on theQuery.- Specified by:
- getCountin interface- GranuleSource
- Parameters:
- q- the- Queryto select granules
- Returns:
- the number of granules
- Throws:
- IOException
 
- 
getBoundsDescription copied from interface:GranuleSourceGet the spatial bounds of the granules that would be returned by the givenQuery.- Specified by:
- getBoundsin interface- GranuleSource
- Parameters:
- q- the- Queryto select granules
- Returns:
- The bounding envelope of the requested data
- Throws:
- IOException
 
- 
getSchemaDescription copied from interface:GranuleSourceRetrieves the schema (feature type) that will apply to granules retrieved from thisGranuleSource.- Specified by:
- getSchemain interface- GranuleSource
- Throws:
- IOException
 
- 
disposeDescription copied from interface:GranuleSourceThis will free/release any resource (cached granules, ...).- Specified by:
- disposein interface- GranuleSource
- Throws:
- IOException
 
 
-