public class DatabaseContextHandler extends Object
getDatabases()getSchemaTables(java.lang.String, java.lang.String)getSchemaTables(java.lang.String, java.lang.String)getModule(java.lang.String, java.lang.String, java.lang.String)OMEntityDao| Constructor and Description |
|---|
DatabaseContextHandler(OMEntityDao omEntityDao) |
| Modifier and Type | Method and Description |
|---|---|
List<ResponseContainerDatabase> |
getDatabases()
Get list of databases on the server.
|
List<ResponseContainerDatabaseSchema> |
getDatabaseSchemas(String guidDataSource)
Retrieve schemas for given database from repository.
|
ResponseContainerModule |
getModule(String databaseGuid,
String catalog,
String schema)
Build Analytics Modeling module for database schema
|
ResponseContainerSchemaTables |
getSchemaTables(String guidDataSource,
String schema)
Get tables for schema.
|
public DatabaseContextHandler(OMEntityDao omEntityDao)
public List<ResponseContainerDatabase> getDatabases() throws AnalyticsModelingCheckedException
AnalyticsModelingCheckedException - in case of an repository operation failure.public List<ResponseContainerDatabaseSchema> getDatabaseSchemas(String guidDataSource) throws AnalyticsModelingCheckedException
guidDataSource - defines databaseAnalyticsModelingCheckedException - in case of an repository operation failure.public ResponseContainerSchemaTables getSchemaTables(String guidDataSource, String schema) throws AnalyticsModelingCheckedException
guidDataSource - of the schema.schema - name.AnalyticsModelingCheckedException - if failedpublic ResponseContainerModule getModule(String databaseGuid, String catalog, String schema) throws AnalyticsModelingCheckedException
databaseGuid - of the modulecatalog - of the moduleschema - of the moduleAnalyticsModelingCheckedException - in case of an repository operation failure.Copyright © 2018–2020 ODPi. All rights reserved.