olap.Datasource Class
A Datasource is the highest level element in the hierarchy of metadata objects. A database contains one or more catalogs. Some OLAP servers may only have one database. Mondrian is one such OLAP server. To obtain the collection of databases in the current server, call the olap.Connection.getOlapDatabases() method.
Constructor
olap.Datasource
-
source -
conn
Parameters:
-
sourceObjectJS object representing object properties. Often used to rehydrate objects after external persistence
-
connolap.ConnectionThe olap.Connection instance to be used to communicate with the server
Item Index
Methods
getAuthenticationModes
()
returns the modes of authentication that are supported by this provider
getCatalogs
()
returns a list of catalogs in this database
getDataSourceInfo
()
returns provider-specific information
getDescription
()
returns the description of this database
getName
()
returns the name of this database
getOlapConnection
()
returns the current connection
getProviderName
()
returns the name of the underlying OLAP provider
getProviderTypes
()
returns the types of data that are supported by this provider
getURL
()
returns the redirection URL, if this database is a proxy to another server
