Package org.geotools.vectormosaic
Class VectorMosaicStore
Object
ContentDataStore
VectorMosaicStore
- All Implemented Interfaces:
DataAccess<SimpleFeatureType,
,SimpleFeature> DataStore
DataStore
for a vector mosaic.-
Field Summary
FieldsFields inherited from class ContentDataStore
dataStoreFactory, entries, featureFactory, filterFactory, geometryFactory, JOINED_FEATURE_TYPE, lockingManager, namespaceURI, typeFactory, WRITER_ADD, WRITER_COMMIT, WRITER_UPDATE
-
Constructor Summary
ConstructorsConstructorDescriptionVectorMosaicStore
(String delegateStoreName, Repository repository) Creates a new instance of VectorMosaicStore -
Method Summary
Modifier and TypeMethodDescriptionstatic Name
Builds a qualified name from a name containing the ":" separator, otherwise the given name will be used as the local partprotected ContentState
createContentState
(ContentEntry entry) Instantiates a new content state for the entry.protected ContentFeatureSource
createFeatureSource
(ContentEntry entry) Instantiates new feature source for the entry.Creates a set of qualified names corresponding to the types that the datastore provides.void
setConnectionParameterKey
(String connectionParameterKey) void
setPreferredSPI
(String preferredSPI) Methods inherited from class ContentDataStore
createSchema, dispose, ensureEntry, ensureFeatureStore, entry, getDataStoreFactory, getEntry, getFeatureFactory, getFeatureReader, getFeatureSource, getFeatureSource, getFeatureSource, getFeatureSource, getFeatureTypeFactory, getFeatureWriter, getFeatureWriter, getFeatureWriterAppend, getFilterFactory, getGeometryFactory, getInfo, getLockingManager, getLogger, getNames, getNamespaceURI, getSchema, getSchema, getTypeNames, name, removeEntry, removeSchema, removeSchema, setDataStoreFactory, setFeatureFactory, setFeatureTypeFactory, setFilterFactory, setGeometryFactory, setNamespaceURI, updateSchema, updateSchema
-
Field Details
-
CONNECTION_PARAMETER_KEY_URL
- See Also:
-
CONNECTION_PARAMETER_KEY_FILE
- See Also:
-
MOSAIC_TYPE_SUFFIX
- See Also:
-
-
Constructor Details
-
VectorMosaicStore
Creates a new instance of VectorMosaicStore- Parameters:
delegateStoreName
- the name of the delegate store. Delegate store must be registered in the repository and must point to vector featuretypes with identical attributes.repository
- the repository to use for lookup of the delegate store.
-
-
Method Details
-
getDelegateStoreName
-
getRepository
-
getConnectionParameterKey
-
setConnectionParameterKey
-
getPreferredSPI
-
setPreferredSPI
-
buildName
Builds a qualified name from a name containing the ":" separator, otherwise the given name will be used as the local part- Parameters:
name
- the name to build a qualified name from- Returns:
- the qualified name
-
createTypeNames
Description copied from class:ContentDataStore
Creates a set of qualified names corresponding to the types that the datastore provides.Namespaces may be left
null
for data stores which do not support namespace qualified type names.- Specified by:
createTypeNames
in classContentDataStore
- Returns:
- A list of
Name
. - Throws:
IOException
- Any errors occuring connecting to data.
-
createFeatureSource
Description copied from class:ContentDataStore
Instantiates new feature source for the entry.Subclasses should override this method to return a specific subclass of
ContentFeatureSource
.- Specified by:
createFeatureSource
in classContentDataStore
- Parameters:
entry
- The entry.- Returns:
- An new instance of
ContentFeatureSource
for the entry. - Throws:
IOException
-
createContentState
Description copied from class:ContentDataStore
Instantiates a new content state for the entry.Subclasses may override this method to return a specific subclass of
ContentState
.- Overrides:
createContentState
in classContentDataStore
- Parameters:
entry
- The entry.- Returns:
- A new instance of
ContentState
for the entry.
-