Class VectorMosaicStore

Object
ContentDataStore
VectorMosaicStore
All Implemented Interfaces:
DataAccess<SimpleFeatureType,SimpleFeature>, DataStore

public class VectorMosaicStore extends ContentDataStore
DataStore for a vector mosaic.
  • Field Details

  • Constructor Details

    • VectorMosaicStore

      public VectorMosaicStore(String delegateStoreName, Repository repository)
      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

      public String getDelegateStoreName()
    • getRepository

      public Repository getRepository()
    • getConnectionParameterKey

      public String getConnectionParameterKey()
    • setConnectionParameterKey

      public void setConnectionParameterKey(String connectionParameterKey)
    • getPreferredSPI

      public String getPreferredSPI()
    • setPreferredSPI

      public void setPreferredSPI(String preferredSPI)
    • buildName

      public static Name buildName(String name)
      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

      protected List<Name> createTypeNames() throws IOException
      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 class ContentDataStore
      Returns:
      A list of Name.
      Throws:
      IOException - Any errors occuring connecting to data.
    • createFeatureSource

      protected ContentFeatureSource createFeatureSource(ContentEntry entry) throws IOException
      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 class ContentDataStore
      Parameters:
      entry - The entry.
      Returns:
      An new instance of ContentFeatureSource for the entry.
      Throws:
      IOException
    • createContentState

      protected ContentState createContentState(ContentEntry entry)
      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 class ContentDataStore
      Parameters:
      entry - The entry.
      Returns:
      A new instance of ContentState for the entry.