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 java.lang.String
addColumn(java.util.List<Table> tables, java.lang.String column)
java.lang.String
constructJoinExprForTables(java.util.List<Table> tables)
constructJoinExprForTablesTable
findTableByVisibleColumn(java.lang.String colName)
findTableByVisibleColumnDatabaseSchema
getDatabaseSchema()
getDatabaseSchemajava.util.List<java.lang.String>
getJoinTables(java.util.List<Table> tables)
getJoinTablesTable
getPrimaryTable()
getPrimaryTableTable
getTableByName(java.lang.String name)
getTableByNameint
getTableCount()
getTableCount
-
-
-
Method Detail
-
getDatabaseSchema
DatabaseSchema getDatabaseSchema()
getDatabaseSchema
- Returns:
- a DatabaseSchema
-
getPrimaryTable
Table getPrimaryTable()
getPrimaryTable
- Returns:
- a Table
-
getTableByName
Table getTableByName(java.lang.String name)
getTableByName
- Parameters:
a
- String- Returns:
- a Table
-
findTableByVisibleColumn
Table findTableByVisibleColumn(java.lang.String colName)
findTableByVisibleColumn
- Parameters:
a
- String- Returns:
- a Table
-
getTableCount
int getTableCount()
getTableCount
- Returns:
- an int
-
getJoinTables
java.util.List<java.lang.String> getJoinTables(java.util.List<Table> tables)
getJoinTables
- Parameters:
a
- List of Tables- Returns:
- a List of Strings
-
constructJoinExprForTables
java.lang.String constructJoinExprForTables(java.util.List<Table> tables)
constructJoinExprForTables
- Parameters:
a
- List of Tables- Returns:
- a String
-
addColumn
java.lang.String addColumn(java.util.List<Table> tables, java.lang.String column)
-
-