|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GranuleSource
API to operate on Granules data.
Method Summary | |
---|---|
void |
dispose()
This will free/release any resource (cached granules, ...). |
ReferencedEnvelope |
getBounds(Query q)
Get the spatial bounds of the granules that would be returned by the given Query . |
int |
getCount(Query q)
Gets the number of the granules that would be returned by the given Query , taking into account any settings for max features and start
index set on the Query . |
SimpleFeatureCollection |
getGranules(Query q)
Retrieves granules, in the form of a SimpleFeatureCollection , based on a Query . |
SimpleFeatureType |
getSchema()
Retrieves the schema (feature type) that will apply to granules retrieved from this GranuleSource . |
Method Detail |
---|
SimpleFeatureCollection getGranules(Query q) throws IOException
SimpleFeatureCollection
, based on a Query
.
q
- the Query
to select granules
IOException
int getCount(Query q) throws IOException
Query
, taking into account any settings for max features and start
index set on the Query
.
q
- the Query
to select granules
IOException
ReferencedEnvelope getBounds(Query q) throws IOException
Query
.
q
- the Query
to select granules
IOException
SimpleFeatureType getSchema() throws IOException
GranuleSource
.
IOException
void dispose() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |