%iKnow.Objects.VirtualCrcUnique
Class %iKnow.Objects.VirtualCrcUnique Extends %Persistent [ Deprecated, StorageStrategy = iKnowStorage, System = 4 ]
This is a read-only object representation wrapping the internal iKnow data structures for unique CRCs in a Virtual Source.
This class can be used from ObjectScript or SQL to access a single or small number of entries, but the storage mappings are not meant to support elaborate or complex queries targeting this SQL table.
Please use the predefined queries in %iKnow.Queries.CrcAPI and other query classes to consult CRC data as the internal global structures are designed to optimize performance for these queries rather than general-purpose access.
Parameters
READONLY
Parameter READONLY = 1;
Properties
DomainId
Property DomainId As %Integer;
VirtualSourceId
Property VirtualSourceId As %Integer;
CrcUniId
Property CrcUniId As %Integer;
RealCrcUniId
Property RealCrcUniId As %Integer [ Calculated, SqlComputeCode = { set {RealCrcUniId} = $lg(^IRIS.IKV.CrcUniDetails({DomainId},{VirtualSourceId},{CrcUniId}),2) }, SqlComputed ];
HeadId
Property HeadId As %Integer;
MasterId
Property MasterId As %Integer [ Calculated, Deprecated, Internal, SqlComputeCode = { set {MasterId} = {HeadId} }, SqlComputed ];
RelationId
Property RelationId As %Integer;
TailId
Property TailId As %Integer;
SlaveId
Property SlaveId As %Integer [ Calculated, Deprecated, Internal, SqlComputeCode = { set {SlaveId} = {TailId}}, SqlComputed ];
Frequency
Property Frequency As %Integer [ Calculated, SqlComputeCode = { set {Frequency} = $lg(^IRIS.IK.CrcUniDetails({DomainId},{VirtualSourceId},{CrcUniId}),1) }, SqlComputed ];
Head
Property Head As %iKnow.Objects.VirtualEntityUnique [ Calculated, SqlComputeCode = { set {Head} = {DomainId} _"||"_ {VirtualSourceId} _"||"_ {HeadId} }, SqlComputed ];
Master
Property Master As %iKnow.Objects.VirtualEntityUnique [ Calculated, Deprecated, Internal, SqlComputeCode = { set {Master} = {DomainId} _"||"_ {VirtualSourceId} _"||"_ {MasterId} }, SqlComputed ];
Relation
Property Relation As %iKnow.Objects.VirtualEntityUnique [ Calculated, SqlComputeCode = { set {Relation} = {DomainId} _"||"_ {VirtualSourceId} _"||"_ {RelationId} }, SqlComputed ];
Tail
Property Tail As %iKnow.Objects.VirtualEntityUnique [ Calculated, SqlComputeCode = { set {Tail} = {DomainId} _"||"_ {VirtualSourceId} _"||"_ {TailId} }, SqlComputed ];
Slave
Property Slave As %iKnow.Objects.VirtualEntityUnique [ Calculated, Deprecated, Internal, SqlComputeCode = { set {Slave} = {DomainId} _"||"_ {VirtualSourceId} _"||"_ {SlaveId} }, SqlComputed ];