Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / %SYS namespace / %DeepSee.Model.source
Private  Storage   

%DeepSee.Model.source


abstract class %DeepSee.Model.source

This class defines a set of properties that define how a DeepSee element gets data from its source table.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
8


Summary


Properties
factName factSelectivity linkClass linkProperty
sourceExpression sourceProperty

Subclasses
%DeepSee.Model.expression %DeepSee.Model.level %DeepSee.Model.measure
%DeepSee.Model.property %DeepSee.Model.relationship

Properties


• property factName as %DeepSee.Datatype.string(MAXLEN=255,XMLPROJECTION="attribute");
Optional. If defined, this specifies the name of the column in the Fact table that corresponds to this element.
If not provided a fact name will be synthesized from the source property and expression values.
This property should be used cautiously; giving multiple members the same fact name can lead to logical flaws in the resulting cube definition. If in doubt, do not use this property.
• property factSelectivity as %DeepSee.Datatype.string(MAXLEN=255,XMLPROJECTION="attribute");
Optional. If defined, this specifies the SELECTIVITY value for the fact property corresponding to this element.
This value is not used by DeepSee. This provides the ability to override the default selectivity for cases when SQL is used directly against the generated fact table.
• property linkClass as %DeepSee.Datatype.className(XMLPROJECTION="attribute");
Optional. Class name referred to by linkProperty. Refer to linkProperty for details.
• property linkProperty as %DeepSee.Datatype.propertyName(XMLPROJECTION="attribute");
Optional. If defined, then this is the name of a property within the class specified by linkClass that supplies the value for this element. The value provided by sourceProperty (or sourceExpression) is used as the ID of an instance of class linkClass.
If linkProperty is defined, then linkClass must also be defined.
• property sourceExpression as %ZEN.Datatype.expression(LANGUAGE="OBJECTSCRIPT",XMLPROJECTION="attribute");
Optional expression used to get the value of this member.
This can refer to properties of the source table using the syntax: "%source.Property".
An expression can also contain a reference to a class method of the cube definition class using the syntax: "%cube.Method()".
If sourceExpression is defined, then sourceProperty is ignored.
• property sourceProperty as %DeepSee.Datatype.string(XMLPROJECTION="attribute");
Name of the property in the source data that provides the value for this element.
Using dot syntax, it is possible to refer to a property within a related class, for example "City.Name" or "City.State.Name".