Package org.opennms.netmgt.config.api
Interface DatabaseSchemaConfig
-
- All Known Implementing Classes:
DatabaseSchemaConfigFactory
public interface DatabaseSchemaConfig
An interface for DatabaseSchemaConfigFactory- Author:
- Ryan Lambeth
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
addColumn(List<Table> tables, String column)
String
constructJoinExprForTables(List<Table> tables)
constructJoinExprForTablesTable
findTableByVisibleColumn(String colName)
findTableByVisibleColumnDatabaseSchema
getDatabaseSchema()
getDatabaseSchemaList<String>
getJoinTables(List<Table> tables)
getJoinTablesTable
getPrimaryTable()
getPrimaryTableTable
getTableByName(String name)
getTableByNameint
getTableCount()
getTableCount
-
-
-
Method Detail
-
getDatabaseSchema
DatabaseSchema getDatabaseSchema()
getDatabaseSchema
- Returns:
- a DatabaseSchema
-
getPrimaryTable
Table getPrimaryTable()
getPrimaryTable
- Returns:
- a Table
-
getTableByName
Table getTableByName(String name)
getTableByName
- Parameters:
a
- String- Returns:
- a Table
-
findTableByVisibleColumn
Table findTableByVisibleColumn(String colName)
findTableByVisibleColumn
- Parameters:
a
- String- Returns:
- a Table
-
getTableCount
int getTableCount()
getTableCount
- Returns:
- an int
-
getJoinTables
List<String> getJoinTables(List<Table> tables)
getJoinTables
- Parameters:
a
- List of Tables- Returns:
- a List of Strings
-
constructJoinExprForTables
String constructJoinExprForTables(List<Table> tables)
constructJoinExprForTables
- Parameters:
a
- List of Tables- Returns:
- a String
-
-