Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%DeepSee] >  [Query] >  [memberRelationship]
Private  Storage   

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.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
10 5


Summary

Properties
%ORList %aggregate %allName %cardinality
%cube %deepCubes %dimNumber %hierNumber
%inverse %isNullRelation %isStoredSide %levelNumber
%memberId %memberKey %memberSpec %name
%relatedCube %relationship %relationshipDepth %remoteSpec
%tuple %type

Methods
%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


Properties

• 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.

Methods

• 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 (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.