class %DeepSee.Query.memberRelationship extends %DeepSee.Query.member

Specialized version of the member provider class used for relationships.
This providers delagates the job of providing information to the related cube by generating queries against it.


Parameters Properties Methods Queries Indices ForeignKeys Triggers
10 3


%ORList %aggregate %allName %cardinality
%cube %deepCubes %dimNumber %hierNumber
%inverse %isNullRelation %isStoredSide %levelNumber
%memberId %memberKey %memberSpec %name
%relatedCube %relationship %relationshipDepth %remoteSpec
%tuple %type
%AddToSaveSet %ApplyRelationInfo %ApplyState %ClassIsLatestVersion
%ClassName %ConstructClone %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %Extends %GetMembers %GetParameter
%HasFeature %IsA %IsModified %MergeOR
%New %NormalizeObject %ObjectModified %OriginalNamespace
%PackageName %ProcessMembers %RemoveFromSaveSet %SerializeObject
%SetModified %SupportsFunction %ValidateObject


property %ORList as %String [ MultiDimensional ];
Used to hold additional values for %OR references
property %cardinality as %String;
Cardinality of the relationship.
property %deepCubes as %List;
List of additional related cubes more than one level away.
property %inverse as %DeepSee.Datatype.entityName;
Inverse of the relationship.
property %isNullRelation as %Boolean [ InitialExpression = 0 ];
True if this is the No Relation member.
property %isStoredSide as %Boolean [ InitialExpression = 0 ];
Is this the stored side of the relationship?
property %relatedCube as %DeepSee.Datatype.entityName;
Name of cube the relationship refers to.
property %relationship as %DeepSee.Datatype.entityName;
Name of this relationship.
property %relationshipDepth as %Boolean [ InitialExpression = 0 ];
Depth (number of hops) of the relationship.
property %remoteSpec as %String(MAXLEN=30000);
Member spec to apply against the related cube.


method %ApplyRelationInfo(ByRef pSpec, pRelatedCube As %String, pCardinality As %String, pInverse As %String, pIsStored As %Boolean, ByRef pMemberKey) as %Status
Apply relationship information to this provider.
pSpec is an array of the tokens that make up the member specification.
method %MergeOR(pMember2 As memberRelationship) as %Status
Combine the given member object into this one. This is used to combine %OR(members) into one statement.
method %ProcessMembers(pParent As %Integer, Output pSet As %List) as %Status
Process the member name and key information for this tuple. Put the result into pSet.
Copyright © 1997-2020 InterSystems Corporation, Cambridge, MA