%DeepSee.Model.source
Class %DeepSee.Model.source [ Abstract, System = 3 ]
This class defines a set of properties that define how a DeepSee element gets data from its source table.
Properties
sourceProperty
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".
sourceExpression
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.
localSourceProperty
Property localSourceProperty As %DeepSee.Datatype.string(XMLPROJECTION = "none") [ Internal ];
For shared dimensions, this is used to track a local override of this property on the sharing side.
localSourceExpression
Property localSourceExpression As %ZEN.Datatype.expression(LANGUAGE = "OBJECTSCRIPT", XMLPROJECTION = "none") [ Internal ];
For shared dimensions, this is used to track a local override of this property on the sharing side.
linkClass
Property linkClass As %DeepSee.Datatype.className(XMLPROJECTION = "attribute");
Optional. Class name referred to by linkProperty. Refer to linkProperty for details.
linkProperty
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.
factName
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.
factSelectivity
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.