API Docs for: 0.1.1
Show:

olap.Catalog Class

Defined in: olap.js:278
Module: olap

A Catalog is the second highest level element in the hierarchy of metadata objects. A catalog belongs to a database and contains one or more schemas. Some OLAP servers may only have one catalog. Mondrian is one such OLAP server; its sole catalog is always called "LOCALDB". To obtain the collection of catalogs in the current server, call the olap.Connection.getOlapCatalogs() method.

Constructor

olap.Catalog

(
  • Catalog
  • Datasource
)

Defined in olap.js:278

Parameters:

  • Catalog Object

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

  • Datasource olap.Datasource

    The olap.Datasource that this catalog belongs to

Item Index

Methods

getDatabase

()

Defined in olap.js:326

returns this catalog's parent database

getName

()

Defined in olap.js:312

returns the name of this catalog

getSchemas

()

Defined in olap.js:319

returns a list of schemas in this catalog