Package org.geotools.vectormosaic
Class GranuleStoreFinderImpl
Object
GranuleStoreFinder
GranuleStoreFinderImpl
Class used to find the DataStore for a VectorMosaicGranule. The lookup tries three possible avenues:
- Using the store name, if set in the granule, to lookup the store in the provided
Repository
- Using the connection properties if they are set in the granule
-
Field Summary
FieldsFields inherited from class GranuleStoreFinder
granuleTracker
-
Constructor Summary
ConstructorsConstructorDescriptionGranuleStoreFinderImpl
(String preferredSPI, Repository repository) Constructor that accepts a nullable preferred SPI. -
Method Summary
Modifier and TypeMethodDescriptionfindDataStore
(VectorMosaicGranule granule, boolean isSampleForSchema) Find the DataStore for the given connection parameters.Methods inherited from class GranuleStoreFinder
getSPI, propertiesToMap
-
Field Details
-
preferredSPI
-
repository
-
-
Constructor Details
-
GranuleStoreFinderImpl
Constructor that accepts a nullable preferred SPI.- Parameters:
preferredSPI
- the preferred SPI
-
-
Method Details
-
findDataStore
Description copied from class:GranuleStoreFinder
Find the DataStore for the given connection parameters.- Specified by:
findDataStore
in classGranuleStoreFinder
- Parameters:
granule
- the granuleisSampleForSchema
- true if the granule is a sample for schema
-
getPreferredSPI
-