mondrian.olap4j
Class MondrianOlap4jDatabase
java.lang.Object
mondrian.olap4j.MondrianOlap4jMetadataElement
mondrian.olap4j.MondrianOlap4jDatabase
- All Implemented Interfaces:
- org.olap4j.impl.Named, Database, OlapWrapper
class MondrianOlap4jDatabase
- extends MondrianOlap4jMetadataElement
- implements Database, org.olap4j.impl.Named
Implementation of Database
for the Mondrian OLAP engine.
- Author:
- LBoudreau
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MondrianOlap4jDatabase
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.
- Parameters:
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 modes
getAuthenticationModes
public List<Database.AuthenticationMode> getAuthenticationModes()
throws OlapException
- Specified by:
getAuthenticationModes in interface Database
- Throws:
OlapException
getCatalogs
public NamedList<Catalog> getCatalogs()
throws OlapException
- Specified by:
getCatalogs in interface Database
- Throws:
OlapException
getDescription
public String getDescription()
throws OlapException
- Specified by:
getDescription in interface Database
- Throws:
OlapException
getName
public String getName()
- Specified by:
getName in interface org.olap4j.impl.Named- Specified by:
getName in interface Database
getOlapConnection
public OlapConnection getOlapConnection()
- Specified by:
getOlapConnection in interface Database
getProviderName
public String getProviderName()
throws OlapException
- Specified by:
getProviderName in interface Database
- Throws:
OlapException
getProviderTypes
public List<Database.ProviderType> getProviderTypes()
throws OlapException
- Specified by:
getProviderTypes in interface Database
- Throws:
OlapException
getURL
public String getURL()
throws OlapException
- Specified by:
getURL in interface Database
- Throws:
OlapException
getDataSourceInfo
public String getDataSourceInfo()
throws OlapException
- Specified by:
getDataSourceInfo in interface Database
- Throws:
OlapException
getOlapElement
protected OlapElement getOlapElement()
- Description copied from class:
MondrianOlap4jMetadataElement
- Returns the Mondrian metadata element inside this wrapper, or null if
there is none.
- Specified by:
getOlapElement in class MondrianOlap4jMetadataElement
- Returns:
- The Mondrian metadata element, if any