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 NameBuilds a qualified name from a name containing the ":" separator, otherwise the given name will be used as the local partprotected ContentStatecreateContentState(ContentEntry entry) Instantiates a new content state for the entry.protected ContentFeatureSourcecreateFeatureSource(ContentEntry entry) Instantiates new feature source for the entry.Creates a set of qualified names corresponding to the types that the datastore provides.voidsetConnectionParameterKey(String connectionParameterKey) voidsetPreferredSPI(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:ContentDataStoreCreates a set of qualified names corresponding to the types that the datastore provides.Namespaces may be left
nullfor data stores which do not support namespace qualified type names.- Specified by:
createTypeNamesin classContentDataStore- Returns:
- A list of
Name. - Throws:
IOException- Any errors occuring connecting to data.
-
createFeatureSource
Description copied from class:ContentDataStoreInstantiates new feature source for the entry.Subclasses should override this method to return a specific subclass of
ContentFeatureSource.- Specified by:
createFeatureSourcein classContentDataStore- Parameters:
entry- The entry.- Returns:
- An new instance of
ContentFeatureSourcefor the entry. - Throws:
IOException
-
createContentState
Description copied from class:ContentDataStoreInstantiates a new content state for the entry.Subclasses may override this method to return a specific subclass of
ContentState.- Overrides:
createContentStatein classContentDataStore- Parameters:
entry- The entry.- Returns:
- A new instance of
ContentStatefor the entry.
-