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, unwrapImpl
MondrianOlap4jDatabase(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 Database
OlapException
public NamedList<Catalog> getCatalogs() throws OlapException
getCatalogs
in interface Database
OlapException
public String getDescription() throws OlapException
getDescription
in interface Database
OlapException
public String getName()
getName
in interface org.olap4j.impl.Named
getName
in interface Database
public OlapConnection getOlapConnection()
getOlapConnection
in interface Database
public String getProviderName() throws OlapException
getProviderName
in interface Database
OlapException
public List<Database.ProviderType> getProviderTypes() throws OlapException
getProviderTypes
in interface Database
OlapException
public String getURL() throws OlapException
getURL
in interface Database
OlapException
public String getDataSourceInfo() throws OlapException
getDataSourceInfo
in interface Database
OlapException
protected OlapElement getOlapElement()
MondrianOlap4jMetadataElement
getOlapElement
in class MondrianOlap4jMetadataElement