Class LogicalEntityStoreConfig
- java.lang.Object
-
- io.vertigo.datastore.impl.entitystore.logical.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 Summary
Constructors Constructor Description LogicalEntityStoreConfig(List<EntityStorePlugin> dataStorePlugins)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getConnectionName(String dataSpace)
Provides the name of the connection.EntityStorePlugin
getPhysicalDataStore(DtDefinition dtDefinition)
Provides a 'DataStorePlugin' for the specified 'DtDefinition'.
-
-
-
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'
-
-