MicroStrategy ONE
WebDatamart
A WebDatamart object represents the data mart information associated with a report. The WebDatamart interface exposes methods to define this information - the database that should be used, the table that should be created, and the data mart-related properties that can be set. You can get a reference to an instance of this type from the WebReportInstance.
The WebDatamart interface includes the following methods:
-
getDBRole():WebObjectInfo
Returns the database connection information that is needed to create this data mart.
-
setDBRole(WebObjectInfoobj):void
Sets the database connection information that is needed to create this data mart. The list of all available database connections (DBRoles) can be retrieved from the WebObjectSource.
-
getTable():WebDatamartTable
Retrieves the actual table information, as a WebDatamartTable, for the data mart.
-
getProperties():WebPropertySet
Retrieves all the extended properties for this datamart if the instance with which this object is associated is a datamart instance.