public class PersistenceInformation extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_TYPE_SYSTEM_NAME |
static Set<String> |
TYPE_SYSTEM_DEPLOYMENTS |
| Constructor and Description |
|---|
PersistenceInformation(DataSourceCreator dataSourceCreator,
PropertiesLoader propertiesLoader) |
PersistenceInformation(DataSource dataSource,
PropertiesLoader propertiesLoader) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsTable(String tableName) |
boolean |
containsTypeSystemPropsTable() |
Iterable<DeploymentRow> |
getAllDeploymentRowsForTypeSystem(String typeSystemName) |
Set<String> |
getAllTypeSystems() |
DataBaseProvider |
getDbType() |
Set<String> |
getDeploymentColumnNames() |
String |
getDeploymentsTableName() |
String |
getTypeSystemName() |
TypeSystemRelatedDeployments |
getTypeSystemRelatedDeployments(String typeSystemName) |
boolean |
isKnownTypeSystem(String typeSystemName) |
static boolean |
isTypeSystemRelatedDeployment(String name) |
<T> T |
query(String query,
Class<T> clazz) |
String |
toGeneralTableName(String tableName) |
String |
toRealTableName(String tableName) |
public static final String DEFAULT_TYPE_SYSTEM_NAME
public PersistenceInformation(DataSourceCreator dataSourceCreator, PropertiesLoader propertiesLoader)
public PersistenceInformation(DataSource dataSource, PropertiesLoader propertiesLoader)
public static boolean isTypeSystemRelatedDeployment(String name)
public DataBaseProvider getDbType()
public String getDeploymentsTableName()
public String getTypeSystemName()
public boolean containsTypeSystemPropsTable()
public boolean containsTable(String tableName)
public boolean isKnownTypeSystem(String typeSystemName)
public Iterable<DeploymentRow> getAllDeploymentRowsForTypeSystem(String typeSystemName)
public TypeSystemRelatedDeployments getTypeSystemRelatedDeployments(String typeSystemName)
Copyright © 2017 SAP SE. All Rights Reserved.