public class ColumnContextBuilder extends Object
| Constructor and Description |
|---|
ColumnContextBuilder(OMRSRepositoryConnector enterpriseConnector) |
| Modifier and Type | Method and Description |
|---|---|
BusinessTerm |
buildBusinessTerm(EntityDetail businessTermEntity) |
List<TableContextEvent> |
buildContexts(String guidColumn)
Returns the list of columns contexts
|
List<EntitySummary> |
getAssignedColumns(String businessTermGuid) |
TableContextEvent |
getConnectionContext(String connectionEntityGuid)
Returns the lists of contexts populated with connection details
|
List<TableContextEvent> |
getDatabaseContext(String databaseGuid)
Returns the lists of contexts populated with database details
|
List<Relationship> |
getSchemaTypeRelationships(EntityDetail entityDetail,
String schemaTypeRelationshipName,
int startFrom,
int pageSize) |
List<TableColumn> |
getTableColumns(String tableTypeGuid,
int startFrom,
int pageSize)
Returns the list of columns for the specified table type;
|
List<TableContextEvent> |
getTableContext(String tableTypeGuid,
int startFrom,
int pageSize)
Returns the list of table contexts(database host details, database name, schema name, table name, list of
columns)
|
List<EntityDetail> |
getTablesForColumn(String columnEntityGuid) |
List<TableSource> |
getTablesForDatabase(String databaseEntityGuid,
int startFrom,
int pageSize) |
public ColumnContextBuilder(OMRSRepositoryConnector enterpriseConnector)
enterpriseConnector - - combined connector for all repositoriespublic List<TableContextEvent> buildContexts(String guidColumn)
guidColumn - of the relational column entitypublic List<TableContextEvent> getTableContext(String tableTypeGuid, int startFrom, int pageSize)
tableTypeGuid - guid of the table type entitystartFrom - pageSize - public List<Relationship> getSchemaTypeRelationships(EntityDetail entityDetail, String schemaTypeRelationshipName, int startFrom, int pageSize)
entityDetail - - the entity based on which we want to retrieve schema type relationshipsschemaTypeRelationshipName - startFrom - pageSize - public List<TableColumn> getTableColumns(String tableTypeGuid, int startFrom, int pageSize)
tableTypeGuid - for which the columns are loadedpublic List<EntityDetail> getTablesForColumn(String columnEntityGuid)
public List<TableSource> getTablesForDatabase(String databaseEntityGuid, int startFrom, int pageSize)
databaseEntityGuid - - guid of the database entitystartFrom - - index to start frompageSize - - number of tables to returnpublic List<TableContextEvent> getDatabaseContext(String databaseGuid)
databaseGuid - guid of database entitypublic TableContextEvent getConnectionContext(String connectionEntityGuid)
connectionEntityGuid - guid of connection entitypublic List<EntitySummary> getAssignedColumns(String businessTermGuid)
businessTermGuid - guid of the business term for which we want to retrieve the linked columnspublic BusinessTerm buildBusinessTerm(EntityDetail businessTermEntity)
Copyright © 2018–2020 ODPi. All rights reserved.