UNPKG

reveal-sdk-node

Version:

RevealBI Node.js SDK

46 lines (45 loc) 1.31 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RVAnalysisServicesDataSource = void 0; const RVDashboardDataSource_1 = require("../AbstractClasses/RVDashboardDataSource"); /** * Abstract base class for Microsoft Analysis Services (MS SSAS) data sources */ class RVAnalysisServicesDataSource extends RVDashboardDataSource_1.RVDashboardDataSource { /** @hidden */ constructor(json) { super(json); this._catalog = null; if (json) { var props = json.Properties; this._catalog = props['Catalog']; } } /** @hidden */ toJson() { var json = super.toJson(); var props = json.Properties; props['Catalog'] = this._catalog; return json; } /** @hidden */ getProviderKey() { return 'ANALYSISSERVICES'; } /** * The name of the catalog (database) to use. */ get catalog() { return this._catalog; } set catalog(value) { this._catalog = value; } /** @hidden */ _getWrapper() { var wrapper = super._getWrapper(); wrapper.catalog(this.catalog); return wrapper; } } exports.RVAnalysisServicesDataSource = RVAnalysisServicesDataSource;