Package com.im.ijcs.api.ddl
Interface TableManagerAccessor
-
public interface TableManagerAccessor
Provides access forJChemTableManagerImpl
for JChem relatedTableSetInfoProvider
implementations. The implementation delegates toJChemTableManagerImpl
,OracleCartridgeTableManager
andJChemBaseTableManager
. The main aim of this class is easy testability.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description com.im.commons.db.ddl.tablesets.JChemCartridgeJChemBaseTableSetInfo
buildTableSetInfoForCartJCBTable(com.im.commons.db.ddl.DBTableInfo view, com.im.commons.db.ddl.DBTableInfo jchemTable, com.im.commons.db.ddl.DBTableInfo ulTable, java.lang.String schemaPlusIndex, java.lang.String schemaPlusProptable)
com.im.commons.db.ddl.tablesets.JChemCartridgeStandardTableSetInfo
buildTableSetInfoForCartStdTable(com.im.commons.db.ddl.DBTableInfo stdTable, com.im.commons.db.ddl.DBTableInfo idxTable, com.im.commons.db.ddl.DBTableInfo idxTableUL, com.im.commons.db.ddl.DBTableInfo jsuTable, java.lang.String structureColumn, java.lang.String schemaPlusIndex, java.lang.String schemaPlusProptable)
com.im.commons.db.ddl.tablesets.TableSetInfo
buildTableSetInfoForJChemBaseTable(com.im.commons.db.ddl.DBTableInfo primaryTable, com.im.commons.db.ddl.DBTableInfo jchemTable, com.im.commons.db.ddl.DBTableInfo ulTable, java.lang.String schemaPlusProptable)
com.im.commons.db.ddl.tablesets.TableSetInfo
buildTableSetInfoForStandardTable(com.im.commons.db.ddl.DBTableInfo get)
static TableManagerAccessor
get()
Retrieves the currently set instance ofTableManagerAccessor
.com.im.commons.db.DatabasePlatformX
getDatabasePlatform()
com.im.commons.db.ddl.DBItemsCache
getDBItemsCache()
java.util.Map<java.lang.String,java.lang.String>
getIndexTableData()
java.lang.String
getPropertyTableForJChemBaseTable(java.lang.String schemaPlusTable)
java.lang.String
indexForIndexTable(java.lang.String toUpperCase)
java.lang.String
indexNameForCartridgeTable(java.lang.String toUpperCase)
java.lang.String
indexTableForIndex(java.lang.String cartIndexName)
com.im.commons.db.ddl.tablesets.TableSetInfo
initTableSetInfoForPropertyTable(com.im.commons.db.ddl.DBTableInfo primaryTable, com.im.commons.db.ddl.DBTableInfo cacheRegistrationTable)
boolean
isJChemPropertyTable(com.im.commons.db.ddl.DBTableInfo propertyTable, java.util.Set<java.lang.String> allPropTables)
boolean
isPureJChemBaseTable(java.lang.String schemaPlusTable)
java.lang.String
propertyTableForIndex(java.lang.String schemaPlusIndexName)
java.lang.String
structureColumnForIndex(java.lang.String cartIndexName)
-
-
-
Method Detail
-
get
static TableManagerAccessor get()
Retrieves the currently set instance ofTableManagerAccessor
.- Returns:
- instance of
TableManagerAccessor
- Throws:
java.lang.NullPointerException
- if noTableManagerAccessor
implementation is available
-
getDBItemsCache
com.im.commons.db.ddl.DBItemsCache getDBItemsCache()
-
getDatabasePlatform
com.im.commons.db.DatabasePlatformX getDatabasePlatform()
-
getPropertyTableForJChemBaseTable
java.lang.String getPropertyTableForJChemBaseTable(java.lang.String schemaPlusTable)
-
isJChemPropertyTable
boolean isJChemPropertyTable(com.im.commons.db.ddl.DBTableInfo propertyTable, java.util.Set<java.lang.String> allPropTables)
-
initTableSetInfoForPropertyTable
com.im.commons.db.ddl.tablesets.TableSetInfo initTableSetInfoForPropertyTable(com.im.commons.db.ddl.DBTableInfo primaryTable, com.im.commons.db.ddl.DBTableInfo cacheRegistrationTable)
-
isPureJChemBaseTable
boolean isPureJChemBaseTable(java.lang.String schemaPlusTable)
-
propertyTableForIndex
java.lang.String propertyTableForIndex(java.lang.String schemaPlusIndexName)
-
structureColumnForIndex
java.lang.String structureColumnForIndex(java.lang.String cartIndexName)
-
indexTableForIndex
java.lang.String indexTableForIndex(java.lang.String cartIndexName)
-
getIndexTableData
java.util.Map<java.lang.String,java.lang.String> getIndexTableData()
-
indexForIndexTable
java.lang.String indexForIndexTable(java.lang.String toUpperCase)
-
indexNameForCartridgeTable
java.lang.String indexNameForCartridgeTable(java.lang.String toUpperCase)
-
buildTableSetInfoForCartJCBTable
com.im.commons.db.ddl.tablesets.JChemCartridgeJChemBaseTableSetInfo buildTableSetInfoForCartJCBTable(com.im.commons.db.ddl.DBTableInfo view, com.im.commons.db.ddl.DBTableInfo jchemTable, com.im.commons.db.ddl.DBTableInfo ulTable, java.lang.String schemaPlusIndex, java.lang.String schemaPlusProptable)
-
buildTableSetInfoForCartStdTable
com.im.commons.db.ddl.tablesets.JChemCartridgeStandardTableSetInfo buildTableSetInfoForCartStdTable(com.im.commons.db.ddl.DBTableInfo stdTable, com.im.commons.db.ddl.DBTableInfo idxTable, com.im.commons.db.ddl.DBTableInfo idxTableUL, com.im.commons.db.ddl.DBTableInfo jsuTable, java.lang.String structureColumn, java.lang.String schemaPlusIndex, java.lang.String schemaPlusProptable)
-
buildTableSetInfoForJChemBaseTable
com.im.commons.db.ddl.tablesets.TableSetInfo buildTableSetInfoForJChemBaseTable(com.im.commons.db.ddl.DBTableInfo primaryTable, com.im.commons.db.ddl.DBTableInfo jchemTable, com.im.commons.db.ddl.DBTableInfo ulTable, java.lang.String schemaPlusProptable)
-
buildTableSetInfoForStandardTable
com.im.commons.db.ddl.tablesets.TableSetInfo buildTableSetInfoForStandardTable(com.im.commons.db.ddl.DBTableInfo get)
-
-