olap.Catalog Class
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
Parameters:
-
CatalogObjectObject representing object properties. Often used to rehydrate objects after external persistence
-
Datasourceolap.DatasourceThe olap.Datasource that this catalog belongs to
Item Index
Methods
Methods
getDatabase
()
returns this catalog's parent database
getName
()
returns the name of this catalog
getSchemas
()
returns a list of schemas in this catalog
