Class LogicalEntityStoreConfig


  • public final class LogicalEntityStoreConfig
    extends Object
    This class defines how the dataSpaces are mapped to the physical stores. A dataSpace is a set of collections. A dataSpace has a name. A dataSpace can have one dataStore.
    Author:
    pchretien, npiedeloup
    • Constructor Detail

      • LogicalEntityStoreConfig

        public LogicalEntityStoreConfig​(List<EntityStorePlugin> dataStorePlugins)
        Constructor.
        Parameters:
        dataStorePlugins - DataStore plugins
    • Method Detail

      • getPhysicalDataStore

        public EntityStorePlugin getPhysicalDataStore​(DtDefinition dtDefinition)
        Provides a 'DataStorePlugin' for the specified 'DtDefinition'. Each DtDefinition is mapped to a collection.
        Parameters:
        dtDefinition - the DtDefinition
        Returns:
        the dataStore used for the specified 'DtDefinition'
      • getConnectionName

        public String getConnectionName​(String dataSpace)
        Provides the name of the connection.
        Parameters:
        dataSpace - the dataSpace
        Returns:
        the name of the connection