class MondrianOlap4jDatabase extends MondrianOlap4jMetadataElement implements Database, org.olap4j.impl.Named
Database
 for the Mondrian OLAP engine.Database.AuthenticationMode, Database.ProviderType| Constructor and Description | 
|---|
MondrianOlap4jDatabase(MondrianOlap4jConnection olap4jConnection,
                      NamedList<MondrianOlap4jCatalog> catalogs,
                      String name,
                      String description,
                      String providerName,
                      String url,
                      String dataSourceInfo,
                      List<Database.ProviderType> providerType,
                      List<Database.AuthenticationMode> authenticationMode)
Creates a MondrianOlap4jDatabase. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<Database.AuthenticationMode> | 
getAuthenticationModes()  | 
NamedList<Catalog> | 
getCatalogs()  | 
String | 
getDataSourceInfo()  | 
String | 
getDescription()  | 
String | 
getName()  | 
OlapConnection | 
getOlapConnection()  | 
protected OlapElement | 
getOlapElement()
Returns the Mondrian metadata element inside this wrapper, or null if
 there is none. 
 | 
String | 
getProviderName()  | 
List<Database.ProviderType> | 
getProviderTypes()  | 
String | 
getURL()  | 
isWrapperFor, unwrap, unwrapImplMondrianOlap4jDatabase(MondrianOlap4jConnection olap4jConnection, NamedList<MondrianOlap4jCatalog> catalogs, String name, String description, String providerName, String url, String dataSourceInfo, List<Database.ProviderType> providerType, List<Database.AuthenticationMode> authenticationMode)
olap4jConnection - Connectioncatalogs - List of catalogsname - Name of databasedescription - Description of databaseproviderName - Provider nameurl - URL of providerdataSourceInfo - Data source infoproviderType - List of provider types supported by this databaseauthenticationMode - Authentication modespublic List<Database.AuthenticationMode> getAuthenticationModes() throws OlapException
getAuthenticationModes in interface DatabaseOlapExceptionpublic NamedList<Catalog> getCatalogs() throws OlapException
getCatalogs in interface DatabaseOlapExceptionpublic String getDescription() throws OlapException
getDescription in interface DatabaseOlapExceptionpublic String getName()
getName in interface org.olap4j.impl.NamedgetName in interface Databasepublic OlapConnection getOlapConnection()
getOlapConnection in interface Databasepublic String getProviderName() throws OlapException
getProviderName in interface DatabaseOlapExceptionpublic List<Database.ProviderType> getProviderTypes() throws OlapException
getProviderTypes in interface DatabaseOlapExceptionpublic String getURL() throws OlapException
getURL in interface DatabaseOlapExceptionpublic String getDataSourceInfo() throws OlapException
getDataSourceInfo in interface DatabaseOlapExceptionprotected OlapElement getOlapElement()
MondrianOlap4jMetadataElementgetOlapElement in class MondrianOlap4jMetadataElement