extends %RegisteredObject, %XML.Adaptor
This class is used to define DeepSee Subject Areas.
Each subclass of this class defines an
active Subject Area. A Subject Area is analogous to an
SQL view; it is based on an actual DeepSee Cube data model
and can serve as the target of queries as if it were an
actual cube model.
A Subject Area cannot define additional dimensions or measures
but it can define:
- What dimensions and measures can be used in queries.
- What permissions are needed to query a cube
- How the data within a cube should be filtered.
- The default listing for this subject area.
Test if this cube supports drill through (listing) queries.
Return the caption of the subject area defined by this class.
If not defined, the subject area name is returned.
Return the logical name of the MDX cube defined by this subject area.
final classmethod %GetDefaultListing()
Return the name of the default listing for this SubjectArea, if any.
Return name of the fact class used by the base cube.
Return number of facts in the base cube's fact table.
final classmethod %GetFilterSpec()
Return the filter spec for this subject area.
Test whether this subject area is abstract or not.
classmethod %IsCompound(Output pJoinList As %String)
Test whether this subject area is compound or not.
classmethod %OnExecuteListing(pSQL As %String)
Notification that a listing (drillthrough) query is about to be executed.
This is called immediately before a listing query is executed.
This is useful for cases where additional setup work is required before
a listing query can run.
pSQL is the listing query that will be executed.
This callback gives a SubjectArea a chance to programmatically return the name
of the listing to use as its default listing.
This must be the name of a defined listing within the SubjectArea.
Return "" to use the pre-defined default listing.
classmethod %OnGetFilterSpec(pFilterSpec As %String)
This callback gives a SubjectArea a chance to programmatically define its filter spec.