API Docs for: 0.1.1
Show:

olap.Datasource Class

Defined in: olap.js:157
Module: olap

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
)

Defined in olap.js:157

Parameters:

  • source Object

    JS object representing object properties. Often used to rehydrate objects after external persistence

  • conn olap.Connection

    The olap.Connection instance to be used to communicate with the server

Methods

getAuthenticationModes

()

Defined in olap.js:244

returns the modes of authentication that are supported by this provider

getCatalogs

()

Defined in olap.js:251

returns a list of catalogs in this database

getDataSourceInfo

()

Defined in olap.js:230

returns provider-specific information

getDescription

()

Defined in olap.js:209

returns the description of this database

getName

()

Defined in olap.js:202

returns the name of this database

getOlapConnection

()

Defined in olap.js:195

returns the current connection

getProviderName

()

Defined in olap.js:216

returns the name of the underlying OLAP provider

getProviderTypes

()

Defined in olap.js:237

returns the types of data that are supported by this provider

getURL

()

Defined in olap.js:223

returns the redirection URL, if this database is a proxy to another server