Skip to main content

%iKnow.Objects.VirtualCrcOccurrence

Class %iKnow.Objects.VirtualCrcOccurrence Extends %Persistent [ Deprecated, StorageStrategy = iKnowStorage, System = 4 ]

This is a read-only object representation wrapping the internal iKnow data structures for CRC Occurrences 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;

CrcOccurrenceId

Property CrcOccurrenceId As %Integer;

CrcUniId

Property CrcUniId As %Integer;

HeadOccId

Property HeadOccId As %Integer;

MasterOccId

Property MasterOccId As %Integer [ Calculated, Deprecated, Internal, SqlComputeCode = { set {MasterOccId} = {HeadOccId} }, SqlComputed ];

RelationOccId

Property RelationOccId As %Integer;

TailOccId

Property TailOccId As %Integer;

SlaveOccId

Property SlaveOccId As %Integer [ Calculated, Deprecated, Internal, SqlComputeCode = { set {SlaveOccId} = {TailOccId} }, SqlComputed ];

SentenceId

Property SentenceId As %Integer;

PosInSentence

Property PosInSentence As %Integer;

CrcUnique

Property CrcUnique As %iKnow.Objects.VirtualCrcUnique [ Calculated, SqlComputeCode = { set {CrcUnique} = {DomainId} _"||"_ {VirtualSourceId} _"||"_ {CrcUniId} }, SqlComputed ];

Sentence

Property Sentence As %iKnow.Objects.VirtualSentence [ Calculated, SqlComputeCode = {set {Sentence} = {DomainId} _"||"_ {VirtualSourceId} _ "||" _ {SentenceId}}, SqlComputed ];